Slackware :: How To Setup Persistent Static Routes

Mar 23, 2011

how to setup persistent static routes in slackware? does slackware have some text file editing method like debian or redhat. ?

View 5 Replies


ADVERTISEMENT

Networking :: How To Setup Static Routes - Gateway ?

Jan 18, 2011

I have a temporary system up with wlan0 and eth2.

I want the eth0 address to be the gateway for accessing the internet on wlan0.

How do I setup static routes?

I'm not too keen with networking...

Code:

View 1 Replies View Related

Networking :: Setup Static IP Routes On 4 Debian Machines?

Oct 30, 2009

I have 4 debian boxes networked together through a basic 5 port switch. I am trying to simulate 2 Local Area Networks joined together by a WAN. Right now I can communicate with A <--> B, B<----> C, C<----->D. However, I cannot communicate with Host A to Host D which is the whole point of this experiment. It has to be my static routing is not right. This is a confusing area to me. Right now my routes are

[code]....

View 1 Replies View Related

Slackware :: Keep Static Routes After Rc.inet1 Restart?

Jun 29, 2010

Is there a standard config file for saving static routes or "ip route" commands? i lose my static routes after every "/etc/rc.d/rc.inet1 restart".rc.local wouldn't be a good idea, because it's not run automatically after "/etc/rc.d/rc.inet1 restart"

View 5 Replies View Related

Fedora Networking :: Static Routes Aren't Added After Editing Routes-wlan0?

May 8, 2011

How do I add a route that doesn't go away after a reboot? I tried adding to /etc/sysconfig/network-scripts/route-wlan0 and /etc/sysconfig/static-routes but neither of them did anything when I restarted network and NetworkManager. route command does not show the new route that I added. I tried this too - routes.html and there were no errors but the new route doesn't show up with the route command.I added "192.168.13.88/255.255.255.255 via 192.168.13.101 dev wlan0"

View 2 Replies View Related

Networking :: Routes Not Persistent ?

Sep 1, 2010

I have a ubuntu 10.04.1 install with openvpn, so I have some routes in my /etc/networking/interface file. But for what ever reason when it boots the routes don't come up and I have to restart the networking before they come up. Once I do that all is well.

View 4 Replies View Related

Ubuntu Networking :: Routes Are Not Persistent

Sep 1, 2010

I have a ubuntu 10.04.1 install with openvpn, so I have some routes in my /etc/networking/interface file. But for what ever reason when it boots the routes don't come up and I have to restart the networking before they come up. Once I do that all is well. Any idea's why it's doing that?

View 1 Replies View Related

Networking :: Adding Persistent Routes In RHEL5?

May 13, 2011

At work I have been given the "opportunity" to provide admin support on a bunch of RHEL3, 4, and 5 servers. My latest problem is, as the subject hints at, adding persistent (or permanent) routes on a RHEL5 server. I've successfully done this with a couple of RHEL4 servers by adding the relevant information to the /etc/sysconfig/network-scripts/route-eth0 file like this:

GATEWAY0=xx.56.200.129
NETMASK0=255.255.255.128
ADDRESS0=xx.56.200.250

On the RHEL5 servers I do not see a route-ethX file. Do I just add the file and the route info? Or has this functionality been moved to another location?

View 2 Replies View Related

Networking :: Static Routes Between Two LANS Each With Their Own ADSL Line Out

Sep 4, 2010

GNU/Linux gods, guides and superbrains.Don't be moddest. I'ts YOU i'm taking about!I'll be your humble problem-describer-pixie / solution-testing-smerf :

Andreas Vinther, 1977, from Denmark

I'm trying to establish a connection between two seperate ADSL LANs (coming into the house, but from separate ISPs) to a situation where all hosts on either LAN will be able to reach any host on eiher LAN WITHOUT having to use an excess of plastic routers around the house, and please no Wireless bridges. WiFi will only be available as Access Points.

I've heard that Debian does this kind of static routintg / RIP stuff quite well. And I just happen to have one lined up in the right place, that haven't got at snowballs chance in hell of running WINXP or above. But it kills at textbased datamanipulation/forwarding/rerouting/dropping/scanning ... so I'vew made up my mind. That is what I want to do... Now how do io get around doing stuff like that.

The Debian box is connected to both networks: Hostname: AsusAnd
(192.168.1.0/24 - TDC network)
and to
(192.168.15.0/24 - Profiber network)

Needless to say, but both netmasks are 255.25.255.0 hence the /24 The respective router's LAN addresses are 192.168.1.1 and 192.168.15.1 My Debian are locked to the following IP's (reserved DHCP):

eth0:192.158.1.56 via DHCP from 192.168.1.1
eth1:192.168.15.177 via DHCP from 192.168.15.1

So far so good - Now here we go ! This is not a scenario where i'd like to always want all network-packages to travel the shortest path, nor NESSESARILY use the other ISPs gateway if the first is down or slow, although that'll be super nice.

I suspect that'll involve router-protocols like RIP. I'll be super pleased to get some guidelines there as well, as i suspect it'll be quite easy to implement once everything else is in place. Although RIP isn't our main goal, it probably comes as a close second. I think we all would like as stable and fast a connection as possible.

I was actually so naive that i thought if i added two static routes to the two routers x.x.1.1 and x.x.15.1, that my problems would automatically be solved by my Debian box, and that it would automatically act as a gateway when the routers send their packages for the other net. As long as i was connected to both LANs at the same time.

Note: I haven't changed or tweaked the Debian kernel to do routing. this is a simple stable install from the net-inst.iso of Debian 5. I'd like to keep it that way unless there's no way around it.

my routers have static routes to each other (WITH PROPER CABLING), configured as follows:

(On router with LAN 192.168.1.1)
[static route] to 192.168.15.0 with nmask 255.255.255.0 going throuhg gateway 192.158.1.56 ( Taken from above info ) - metric around 2
Similary on my other NIC directly cabled to another switch ---and-then-to-another---> Router

[code]....

View 1 Replies View Related

Ubuntu Networking :: Persistent Static Route Dual NIC Firewall

Apr 3, 2010

I have a dual NIC firewall and everything works fine but only if I run the static route for the default gateway manually:route add -net 0.0.0.0 netmask 0.0.0.0 gw x.x.x.x dev eth1.Where eth1 is my WAN interface and x.x.x.x is my WAN IP. I've spent about 20 hours trying to figure out just how to get this static route to come up automatically upon reboot. I've read all the manuals and all that jazz.I've added the "up route..." or the "post-up route..." commands to the /etc/network/interfaces file but that does not work (although my other static routes work just fine from here). I've copied the relevant text and pasted it onto the command line to confirm correctness - everything with the command is fine.

I've also creates a static-routes file (and chmod +x, confirmed the correct permissions, etc) in /etc/network/interfaces/if-up.d/ and attempted to set the routes here (yes - using the "/sbin/route add -net." terms that work FINE from the command line). But that does not work either.

View 1 Replies View Related

Ubuntu Networking :: Setup Routes For A Gateway That Resides On A Different Subnet

Jul 29, 2011

I'm trying to setup routes for a gateway that resides on a different subnet. Our ISP leased us a block of IPs and told us to route through the current gateway, which is on a different subnet than our current block of addresses. To test, I've enabled one of the new addresses on one of the existing machines, which works. That machine has an address on the same subnet as the gateway, however.

The gateway address is 24.111.1.177 One of the new addresses I'm trying to use is 96.2.192.130, netmask= 255.255.255.240, broadcast= 96.2.192.143 Obviously, I can't just specify that gateway in /etc/network/interfaces without some routing, which is where the trouble I'm having is. The machine I'm trying to set this up on is part of 2 networks - one internal, on two different NICs.

[Code]...

View 8 Replies View Related

Slackware :: Slackware 13.1 XFCE Persistent Wallpaper

Mar 21, 2011

Slackware 13.1 XFCE. I've come across a strange problem which i've never had before on Slackware. I decided to set a desktop up for my sister. Being girls as they are she wanted to change the wallpaper. I showed her how, however when the machine is restarted the wallpaper turns back to default. In all my slack machines around here, i just simply right click on the desktop and change it. That makes it persistent throughout boots. I'm obviously missing something.

View 1 Replies View Related

Slackware :: Take Current Windows7 (x64) Setup And Make It Into A Dual-boot Setup With Slackware 13.0?

Jan 24, 2010

I'm trying to take my current windows7 (x64) setup and make it into a dual-boot setup with slackware 13.0 (x32) and am hitting a brickwall. I guess I would like to know if I can salvage the situation without formating my windows drive. I fully intend to, but I had hoped to not do it this month. I'd like to get dual boot going so I can master it and acquire all the files/drivers I'll want and then format and do it 100% right next time.

Currently I have windows setup on a 3x 500gb Raid0 onboard array which itself has been flawless. After I shrunk my current partition size to give me about 25gb of free space I proceeded to setup Linux, and I was unable to perform the cfdisk portion for partitioning the array for Linux.

I tried using cfdisk:
/dev/hdx (a1-a3,b1-b3)
/dev/sdx (a1-a3,b1-b3)

I even attempted to locate with: cat proc/partition and tried using cfdisk on every device it located. It always said it was either an unknown partition table and should I start at zero, or bad partition. I was of course too concerned over my windows setup (which has almost 1tb of stuff I have not backed up) to go any further into the unknown.

PS: I have used Slackware before, back at 8.1, 10, and even a very brief interlude at 12.0, this is my first attempt on this computer however with 13.0, it is currently running fine on my laptop and my PS3 (Laptop is even dual booting 7/Slack13. Albeit without raid)

Phenom 9850
M2N-SLI Deluxe (Nvidia AM2)
4x1gb of 1066 kingston hyperX
3x500gb WD Caviar Black Sata2 3.0

View 3 Replies View Related

Slackware :: Konsole Configuration Not Persistent ?

Mar 1, 2010

This issue has been a thorn in my side since -13.0 was released. I cannot get the konsole configuration to "stick". If I start konsole, then click Settings->Edit Current Profile, then change the font & font size, click "Apply", then "OK", the changes work during that session, but when I close the program, then open it back up, I am back to the default settings. If I make a root profile, the foreground & background colors will persist, but not the font settings or the initial command. This bugged me so much that I moved to mrxvt, which is working nicely, but I would like to get konsole to behave as well. NOTE: I have recently installed -current on this laptop & put on Alien Bob's KDE 4.4 packages. I cannot get konsole to work right here, either.

View 4 Replies View Related

Slackware :: Static Libraries - Why Aren't They Shipped In Official Slackware Packages

Aug 12, 2010

I noticed that the official Slackware packages don't contain static libraries. The SlackBuild scripts from slackbuilds.org or from Slackware DVD usually contain --disable-static option to prevent building the .a file. And if configure script doesn't allow such option, the .a file is deleted before the package is created.I am wondering what is the reason for that? Is it just the matter of conserving disk space? Are there also other reasons?

View 11 Replies View Related

Slackware :: 64 13.37: 70-persistent-cd.rules Not Automatically Generated?

Jun 4, 2011

And it was under Slackware64 13.0 and 13.1.Due to other issues with the 13.1 to 13.37 upgrade, I ended up performing a clean install so I don't think that this is due to leftover cruft.

View 4 Replies View Related

Software :: Can't Setup Static IP?

Jan 15, 2010

Problem to setup static IP

Host - Fedora 12 64bit
KVM - virtualization software
VM04 - Fedora 12 64bit

[code]....

View 2 Replies View Related

Fedora Networking :: How To Setup Static Ip On 14

Jan 27, 2011

i was trying to setup a static ip in order to forward ports but with no luck. I need to setup these:

- IP address: 192.168.1.2
- Subnet mask: 255.255.255.0
- Default gateway: 192.168.1.1
- Preferred DNS Server: 192.168.1.1

View 5 Replies View Related

Networking :: Static Network Setup?

Aug 16, 2010

I have a fresh install of Centos 5.x and I'm having issues on setting up the network...i know i have to edit/etc/sysconfig/network-script/ifcfg-eth0 and create an ifcfg-eth0:0 right?im just having issues getting everything setup correctly.my network setup:Router IP: 192.168.2.1IPs on network: 192.168.2.xNetmask: 255.255.255.0

View 3 Replies View Related

Ubuntu Networking :: Setup A Static IP If Have No Router?

Dec 1, 2010

I am trying to set up SSH so that I can edit files on a home server (linux). I know this question has been asked many times before, but none of the answers seem to apply to me.

Here's my setup. I have the modem connected to a switch (wired) that connects 2 PCs to the internet (one desktop, one server, both wired).

All of the threads I see that discuss static IPs seem to require that I set up a router. Is this necessary? Can I still transfer files through a switch?

View 9 Replies View Related

Debian :: Server Setup With Static IP Not Accessible

Jan 22, 2011

I setup a server last night and was able to remotely connect to it and access the internet with it. However, now that I have setup /etc/network/interfaces so that the server will have a static IP address, I cannot access the server remotely. Also, from the server itself, I cannot access the internet. Ping provides "unkown host" for any website I try. How do I fix this?! I don't know why this is happening.

Here is my interfaces file:
Code: ...
#The primary network interface
allow-hotplug eth0
# also tried with and without auto eth0
# auto eth0
iface eth0 inet static
address 192.168.133
netmask 225.225.225.0
gateway 192.168.1.1 This is the only NIC on the server.

Here is ifconfig:
Code: eth0
Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr: 192.168.1.133 Bcast:192.168.1.225 Mask:225.225.225.0
UP BROACAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txpueuelen:1000
RX bytes:0 (0.0 B) TX bytes: 0 (0.0 B)
Interupt: 29

View 2 Replies View Related

General :: Setup Static Ip Address Via Terminal?

Jul 12, 2011

I imagine that there is already a thread for setting up a static IP, but I haven't been able to find it yet, so here we go.I have recently installed Fedora 15 on home machine. I have a very simple home network. Belkin wireless router with Window and Linux systems. The router is setup to be DHCP server. Router is setup to have lease time = Forever. Even with this setup, my router is assigning different IP address for my linux machine every time I boot the machine. So I would like to setup a static IP on my Linux.From my research so far, I'm suppose to make some changes to the file /etc/sysconfig/network-scripts/ifcfg-eth0. But I don't have this file in this folder. Should I just create this fil

View 3 Replies View Related

Ubuntu :: Server Static IP Setup But Still Giving Dynamic IP's

Mar 21, 2010

I have setup like instructed in online tutorials.

Here is a copy of my interfaces file:

Code:

Code:

View 9 Replies View Related

Ubuntu Networking :: NM-Applet Static IP Setup On WLAN

Oct 7, 2010

I'm trying to use the nm-applet tool get a static ip on my wlan. I've created a configuration and set up the IPV4 settings ok but I can't figure out how to stop nm-applet from creating and using the auto wlan configuration. I've tried deleting the auto config but it seems to recreate it when I try to use wireless again. How to make the manual config the default or permanently disable the auto (dhcp) config?

View 2 Replies View Related

CentOS 5 Networking :: DHCP Work But Not Able To Setup Static IP?

May 26, 2010

I am having several boxex with centos on it. No pb. I have recently setup a new box with centos 5.4 and I am not able to get the network working on it when configuring a static ip.I've configured eth0 and dns using "setup": unsuccessfulI've used the network config GUI: unsuccessfulAnd it is working very well when I let the dhcp getting the setting.I need a static IP.Here is the getinfo output when static ip setup, and below it, the getinfo for dhcp setting

== BEGIN uname -rmi ==
2.6.18-194.3.1.el5 i686 i386
== END uname -rmi ==

[code]....

View 3 Replies View Related

Fedora Networking :: Unable To Setup Etho With Static Ip Adress

Dec 10, 2010

I'm not able to set up eth0 with a static ip adress.service network restart and it was okkay but when I try to turn off and turn on, the ip adress is set up with dhcp.

View 7 Replies View Related

OpenSUSE Network :: Setup Fast Apache - Launch Static Html Pages

May 22, 2011

I would like to set-up a pretty fast a running apache. I would like to use him so to launch a pretty small web site of 10 static html pages. At this time there is no security concerns (even though I want to do it right) , because the computer has not even ethernet cable. I have some experience, 8 years ago I Was setting up virtual hosts in fedora, so this process is not a blackbox for me.

View 9 Replies View Related

Slackware :: Static Ip With Dhcp

Feb 14, 2011

I have a home lan which has always used static IP. I now have a new modem/router which has no way to assign IP's by mac address.Is there a way to set a client up to always have the same IP when the router is assigning the IP's?

View 9 Replies View Related

Slackware :: Setting A Static Ip From Dhcp?

Apr 30, 2010

I tried to setting a static ip from dhcp, I changed lines in /etc/rc.d rc.inet1.conf as follow:

# Config information for eth0:
#IPADDR[0]=""
IPADDR[0]="192.168.18.7"
#NETMASK[0]=""
NETMASK[0]="255.255.255.0"
#USE_DHCP[0]="yes"
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""

and then I run "/etc/rc.d/rc.inet1 restart"

after that, can't access net, and couldn't ping the gateway[192.168.18.1], I have to change it back

View 4 Replies View Related

Slackware :: 64 - Static Compilation Broken?

Apr 23, 2010

I have a weird bug : segmentation fault appears when executing the 'retq' instruction of my sigalrm callback in static link...It seems it happens only on slackware...Here is a simple test case, compiled in shared -> no problem, static -> crash...Paste the following script in a file named "test-sigalrm-pack2.sh", and execute it: it will generate the C++ source and a simple build/test script.... Just launch the build script (tst-sigalrm-build).

Code:
#!/bin/sh
#test-sigalrm-pack2.sh

[code]....

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved