How to add persistent static routes?

2003-10-01 Thread Ken Morley
I'm using RH7.3. There are multiple paths off our network. Besides the default gateway, which points to the internet, we also have a router that connects the company WAN to branch offices. I can use the route statement to setup a static route as follows: route add -net 10.184.0.0 netmask

RE: How to add persistent static routes?

2003-10-01 Thread Edwaldo Souza Almeida Junior
You may put the command line in /etc/rc.local Edwaldo Junior - Brazil. -Original Message- From: Ken Morley [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 1 de outubro de 2003 09:45 To: '[EMAIL PROTECTED]' Subject: How to add persistent static routes? I'm using RH7.3

Re: How to add persistent static routes?

2003-10-01 Thread Sean Estabrooks
routes you want in /etc/sysconfig/static-routes one route per line. For those routes not associated with a transient interface you prefix the route with any so that it is brought up at boot time. All the options of the route command are available, but omit the leading hyphen in front of -net or -host

RE: Static Routes in Redhat 8.0

2003-03-31 Thread Michael Mansour
28, 2003 9:01 AM To: [EMAIL PROTECTED] Subject: Re: Static Routes in Redhat 8.0 Is the use of these two files documented somewhere by RedHat? I have purchased many books on RedHat Linux and they don't cover the topic to any depth. BTW I also have this file. The entry seems

RE: Static Routes in Redhat 8.0

2003-03-30 Thread Tapang, Roderick Eugenio (GXS)
check this bug report: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=75604 -Original Message- From: Gary Applin [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 9:01 AM To: [EMAIL PROTECTED] Subject: Re: Static Routes in Redhat 8.0 Is the use of these two files

Re: Static Routes in Redhat 8.0

2003-03-28 Thread Hal Burgiss
On Fri, Mar 28, 2003 at 12:23:25PM +0800, Tapang, Roderick Eugenio (GXS) wrote: u need to create it - like the /etc/sysconfig/static-routes file Why, my system is working fine as is ? :-) [EMAIL PROTECTED] root]# cat /etc/sysconfig/networking/devices/eth0.route FWIW, I don't have

RE: Static Routes in Redhat 8.0

2003-03-28 Thread Tapang, Roderick Eugenio (GXS)
ok, so do you have any idea how i can use my eth0.route entries via /etc/sysconfig/static-routes? -Original Message- From: Hal Burgiss [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 7:06 AM To: [EMAIL PROTECTED] Subject: Re: Static Routes in Redhat 8.0 On Fri, Mar 28

Re: Static Routes in Redhat 8.0

2003-03-28 Thread Gary Applin
- Original Message - From: Tapang, Roderick Eugenio (GXS) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 27, 2003 11:23 PM Subject: RE: Static Routes in Redhat 8.0 u need to create it - like the /etc/sysconfig/static-routes file [EMAIL PROTECTED] root]# cat /etc

RE: Static Routes in Redhat 8.0

2003-03-27 Thread Tapang, Roderick Eugenio (GXS)
RHL 8 doesn't read /etc/sysconfig/static-routes anymore (correct me if i'm wrong). put your route commands to /etc/rc.local instead. hth. /erik (o_.' http://counter.li.org/ //\ -- V_/_Linux User # 253842 -Original Message- From: Gary

Re: Static Routes in Redhat 8.0

2003-03-27 Thread Hal Burgiss
On Thu, Mar 27, 2003 at 05:02:28PM +0800, Tapang, Roderick Eugenio (GXS) wrote: RHL 8 doesn't read /etc/sysconfig/static-routes anymore (correct me if i'm wrong). Wrong! It reads mine (same file and syntax as 7.x). See: /usr/share/doc/initscripts-6.95/sysconfig.txt. -- Hal Burgiss

RE: Static Routes in Redhat 8.0

2003-03-27 Thread Tapang, Roderick Eugenio (GXS)
well, it doesn't read mine. i'm using the same static routes from my 7.3 system. only the rc.local approach worked for me. -Original Message- From: Hal Burgiss [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 6:56 AM To: [EMAIL PROTECTED] Subject: Re: Static Routes in Redhat

RE: Static Routes in Redhat 8.0

2003-03-27 Thread Tapang, Roderick Eugenio (GXS)
eth0 those lines are ran whenever a '/sbin/service network start | restart' is executed. anything wrong here? i can't figure out how to make the routes available via static-routes file. thanks. /erik -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com

Re: Static Routes in Redhat 8.0

2003-03-27 Thread Hal Burgiss
On Thu, Mar 27, 2003 at 09:12:45PM +0800, Tapang, Roderick Eugenio (GXS) wrote: here's something: the file: [EMAIL PROTECTED] root]# cat /etc/sysconfig/networking/devices/eth0.route FWIW, I don't have this file (or similar) on my system. Only /etc/sysconfig/static-routes. -- Hal

RE: Static Routes in Redhat 8.0

2003-03-27 Thread Tapang, Roderick Eugenio (GXS)
u need to create it - like the /etc/sysconfig/static-routes file [EMAIL PROTECTED] root]# cat /etc/sysconfig/networking/devices/eth0.route FWIW, I don't have this file (or similar) on my system. Only /etc/sysconfig/static-routes. -- Hal Burgiss -- redhat-list mailing

Static Routes in Redhat 8.0

2003-03-26 Thread Gary Applin
Can someone point me to info on static routes in RedHat 8.0? I have tried to enter them in the /etc/sysconfig/static-routes using the systax from RH 7X. This does not seem to work. They do not show up with a netstat -nr. Any help would be appreciated.

Re: Static Routes in Redhat 8.0

2003-03-26 Thread Ben Russo
Gary Applin wrote: Can someone point me to info on static routes in RedHat 8.0? I have tried to enter them in the /etc/sysconfig/static-routes using the systax from RH 7X. This does not seem to work. They do not show up with a netstat -nr. Any help would be appreciated. after adding

Re: Static Routes in Redhat 8.0

2003-03-26 Thread Gary Applin
Ben, No I did not. I did however, reboot the box. Gary - Original Message - From: Ben Russo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 11:00 AM Subject: Re: Static Routes in Redhat 8.0 Gary Applin wrote: Can someone point me to info on static routes

Re: Static Routes in Redhat 8.0

2003-03-26 Thread Ben Russo
Hmm, well can you show us what you have in the file? I haven't had a need to use /etc/sysconfig/static-routes in a while, but I checked my /etc/rc.d/init.d/network script to see how it uses the content of static-routes file: # Add non interface-specific static-routes

Static Routes

2003-03-25 Thread Ian Dobson
where is the correct place to add static routes in Redhat? I know I can add it to rc.local, but is there a RedHat place? -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list

RE: Static Routes

2003-03-25 Thread christopher cuse
Hi Ian, check /etc/sysconfig/static-routes cheers Christopher CUSE RHCE/CCNA -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ian Dobson Sent: Tuesday, March 25, 2003 11:27 AM To: [EMAIL PROTECTED] Subject: Static Routes where is the correct place to add

RE: static-routes with RH8.0

2003-01-21 Thread Rick Carroll
The shell code from /etc/init.d/network # Add non interface-specific static-routes. if [ -f /etc/sysconfig/static-routes ]; then grep ^any /etc/sysconfig/static-routes | while read ignore args ; do /sbin/route add -$args done fi It only

RE: static-routes with RH8.0

2003-01-21 Thread Toshi Esumi
Rick, Thanks. It finally worked. I put any net 10.0.254.248 gw 63.214.2.234 netmask 255.255.255.252 in the static-routes file under /usr/sysconfig/. In other words, to add specific route on to a specific interface, I probably need to put the same info in a different place, I guess

RE: static-routes with RH8.0

2003-01-20 Thread Toshi Esumi
, is this described in someware like a man page or in a doc? Toshi -Original Message- From: Matthew Melvin [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 19, 2003 4:11 PM To: Toshi Esumi Cc: '[EMAIL PROTECTED]' Subject: Re: static-routes with RH8.0 On Fri, 17 Jan 2003 at 3:46pm (-0800), Toshi Esumi

Re: static-routes with RH8.0

2003-01-20 Thread Matthew Melvin
On Fri, 17 Jan 2003 at 3:46pm (-0800), Toshi Esumi wrote: Does someone have the same experience with RH8.0? I put a static router statement in /etc/sysconfig/static-routes file as I did with RH7.0. But it doesn't seem to work when I reboot the PC. It takes the same static route when I put

Re: static-routes with RH8.0

2003-01-20 Thread John Horne
On Mon, 2003-01-20 at 00:11, Matthew Melvin wrote: On Fri, 17 Jan 2003 at 3:46pm (-0800), Toshi Esumi wrote: Does someone have the same experience with RH8.0? I put a static router statement in /etc/sysconfig/static-routes file as I did with RH7.0. But it doesn't seem to work when I

static-routes with RH8.0

2003-01-17 Thread Toshi Esumi
Does someone have the same experience with RH8.0? I put a static router statement in /etc/sysconfig/static-routes file as I did with RH7.0. But it doesn't seem to work when I reboot the PC. It takes the same static route when I put it manualy using route command when it's running. The route I

Re: static-routes with RH8.0

2003-01-17 Thread Ted Gervais
On Friday 17 January 2003 07:46 pm, Toshi Esumi wrote: I seem to have the same problem. My /etc/sysconfig/static-routes file has 4 lines of routes in it but none of them show up when I run 'route -n '. I need to enter them manually for them to 'take' or show. Anyone have any ideas as to why

Re: static-routes with RH8.0

2003-01-17 Thread John Horne
On Sat, 2003-01-18 at 00:24, Ted Gervais wrote: On Friday 17 January 2003 07:46 pm, Toshi Esumi wrote: I seem to have the same problem. My /etc/sysconfig/static-routes file has 4 lines of routes in it but none of them show up when I run 'route -n '. I need to enter them manually for them

Re: static-routes with RH8.0

2003-01-17 Thread Brent Canipe
Hey Toshi, What is your ifconfig output? Brent *** REPLY SEPARATOR *** On 1/17/03 at 3:46 PM Toshi Esumi wrote: Does someone have the same experience with RH8.0? I put a static router statement in /etc/sysconfig/static-routes file as I did with RH7.0. But it doesn't seem

Adding Static Routes in RH 8.0

2002-11-02 Thread harish . k
Hello list, I used to add static routes on my redhat 7.3 machine using the file /etc/sysconfig/static-routes. I tried the same in my redhat 8.0 machine but doesn't work. Please help. Thanks in advance -- Harish K -- redhat-list mailing list unsubscribe mailto:redhat-list-request;redhat.com

Re: routes in '/etc/sysconfig/static-routes' not read with '/etc/init.d/network restart'

2002-10-21 Thread Freddy Chavez
Hi folks. In RH 8.0 I add a route to /etc/sysconfig/static-routes such as: eth2 host 172.25.29.1 gw 193.169.1.5 Then, '/etc/init.d/network restart' doesn't honor it. AFAIK, service network restart is the right way. that's only a front-end to '/etc/init.d/network restart'... check

Re: routes in '/etc/sysconfig/static-routes' not read with'/etc/init.d/network restart'

2002-10-16 Thread Keith Morse
On Mon, 14 Oct 2002, Freddy Chavez wrote: Hi folks. In RH 8.0 I add a route to /etc/sysconfig/static-routes such as: eth2 host 172.25.29.1 gw 193.169.1.5 Then, I restart network with '/etc/init.d/network restart' but the new route doesn't show with 'route'. I've been checking '/etc

routes in '/etc/sysconfig/static-routes' not read with '/etc/init.d/network restart'

2002-10-14 Thread Freddy Chavez
Hi folks. In RH 8.0 I add a route to /etc/sysconfig/static-routes such as: eth2 host 172.25.29.1 gw 193.169.1.5 Then, I restart network with '/etc/init.d/network restart' but the new route doesn't show with 'route'. I've been checking '/etc/init.d/network' and it seems that it configure only

Re: Adding Static Routes Question

2002-07-14 Thread Mike Burger
On Sat, 13 Jul 2002, Anthony E. Greene wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 13-Jul-2002/15:39 -0400, Mike Burger [EMAIL PROTECTED] wrote: You don't set them to use 192.168.1.126 as the gateway...you have them use 10.10.10.1 as the gateway...it's the interface, on the

Re: Adding Static Routes Question

2002-07-14 Thread Jay Daniels
On Sun, Jul 14, 2002 at 04:15:15AM -0400, Mike Burger wrote: On Sat, 13 Jul 2002, Anthony E. Greene wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 13-Jul-2002/15:39 -0400, Mike Burger [EMAIL PROTECTED] wrote: You don't set them to use 192.168.1.126 as the gateway...you have

Adding Static Routes Question

2002-07-13 Thread Anthony Abby
Going to do something I've never tried before... building a Linux based router/firewall. Currently the box is running Redhat 7.3 and will also be doing DNS services. Both NICs are already installed... eth0 is 192.168.1.126 for the time being, and eth1 is 10.10.10.1. Eth1 is connected to a hub

Re: Adding Static Routes Question

2002-07-13 Thread Mike Burger
You don't set them to use 192.168.1.126 as the gateway...you have them use 10.10.10.1 as the gateway...it's the interface, on the router, that they can see, by virtue of their network address. You then set up ip_forwarding (set FORWARD_IPV4=yes in /etc/sysconfig/network), so that the

Re: Adding Static Routes Question

2002-07-13 Thread Mike Burger
BTW...as for how to tell them, that will depend on the OS on the other systems, and whether or not you're using DHCP or static IPs. If you're doing DHCP, you can simply tell the DHCP server that the gateway is 10.10.10.1, and it will give it to the clients at lease renewal. For the ISC dhcpd,

Re: Adding Static Routes Question

2002-07-13 Thread Anthony E. Greene
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 13-Jul-2002/15:39 -0400, Mike Burger [EMAIL PROTECTED] wrote: You don't set them to use 192.168.1.126 as the gateway...you have them use 10.10.10.1 as the gateway...it's the interface, on the router, that they can see, by virtue of their network

Static routes get ignored

2000-09-16 Thread Peter Kiem
to tell the firewall about the other network. Using netconf I added the following into "Routing and Gateways", "routes to alternate local nets" Network NetmaskInterface 203.46.4.192255.255.255.224eth0 What gets inserted into /etc/sysconfig/stati

Re: Static routes get ignored

2000-09-16 Thread Brian Ashe
the following into "Routing and Gateways", "routes to PK alternate local nets" PK Network NetmaskInterface PK 203.46.4.192255.255.255.224eth0 PK What gets inserted into /etc/sysconfig/static-routes is: PK any net 203.46.4.192 netmask 255.255.255.224

static routes?

2000-03-01 Thread Darryl Harvey
there is a file /etc/sysconfig/static-routes Does anyone know the format of entries for this file? I need to add some routes and take it that they should be put in here? Thanks Darryl -- To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject.

Re: static routes?

2000-03-01 Thread Perry J. Blalock
That, or just use route add etc... to your rc.local file there is a file /etc/sysconfig/static-routes Does anyone know the format of entries for this file? I need to add some routes and take it that they should be put in here? Thanks Darryl -- To unsubscribe: mail [EMAIL PROTECTED

Re: static routes?

2000-03-01 Thread Steve Lee
eth2 net 207.113.56.1 netmask 255.255.255.255 gw 207.113.56.129 eth2 n default gw 207.113.56.1 here is mine. replace 207.113.56.1 with your gateway, your isp. 207.113.56.129 is my gateway for the internal lan. hope that helps Darryl Harvey wrote: there is a file /etc/sysconfig/static

Re: setting up static routes

1999-10-12 Thread alethea struve
please take me off your listserve! UNSUBSCRIBE From: Tony Nugent [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: RedHat Development Mailing List [EMAIL PROTECTED] Subject: setting up static routes Date: Tue, 12 Oct 1999 23:41:31 +1000 From [EMAIL PROTECTED] Mon Oct 11 20:39:49 1999 Received

setting up static routes

1999-10-11 Thread Tony Nugent
Can someone give me a quick'n'dirty rundown on how to set up static routes on a redhat 6.x box? (By hand). Or give me a pointer to the relevant info? Looking though the rc scripts I've discovered that the magic file is /etc/sysconfig/static-routes but I haven't a clue what to put