Firewall & Routing - help!

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Thu Jun 10 23:15:07 UTC 2004


Am Do, den 10.06.2004 schrieb Kevin F. Berrien um 23:18:

> Destination     Gateway         Genmask         Flags Metric Ref    Use 
> Iface
> 172.20.5.0      *               255.255.255.0   U     0      0        0 eth1
> 192.168.5.0     *               255.255.255.0   U     0      0        0 eth1
> 192.168.50.0    *               255.255.255.0   U     0      0        0 eth0
> 169.254.0.0     *               255.255.0.0     U     0      0        0 eth1
> 127.0.0.0       *               255.0.0.0       U     0      0        0 lo
> default         192.168.50.1    0.0.0.0         UG    0      0        0 eth0
> 
> I can get out to the internet with this table, and I'm assuming its the 
> default route.  I need to remove the 172.20.5.0, 169.254.0.0 so they are 
> gone after reboot.

NOZEROCONF=yes in /etc/syconfig/network will remove the route for
169.254.0.0. The route for 172.20.5.0 is set because you have that IP
set for device eth1.

> I don't seem to have any /etc/sysconfig/static-route or 
> /etc/sysconfig/network-scripts/route-eth0 (from reading around), so 
> where are whese routes stored?  I'll need to change all this after 
> testing, before I got live as my REAL subnets are 172.20.5x, 172.20.50.x 
> so I'll need to know how to change this.

Those static routes files are not there by default. If you need general
or device specific static routes you will have to create the files your
own. I.e. see:

http://www.akadia.com/services/redhat_static_routes.html

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) on Athlon CPU kernel 2.6.5-1.358 
Serendipity 01:08:39 up 5:42, 8 users, 0.22, 0.27, 0.25 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040611/86dd7437/attachment-0001.sig>


More information about the fedora-list mailing list