Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Messed up routing table [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
My_World
Guru
Guru


Joined: 01 Sep 2003
Posts: 339
Location: Kalahari Desert

PostPosted: Wed Jan 16, 2008 12:46 pm    Post subject: Messed up routing table [SOLVED] Reply with quote

I have the a problem with the routing on my network and can't seem to find the solution off hand.

The problem:
Code:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.0.1     255.255.255.255 UGH   0      0        0 eth1
192.168.0.0     *               255.255.255.0   U     0      0        0 eth1
loopback        *               255.0.0.0       U     0      0        0 lo


Look at the default gw.
Now, as it should be after manualy fixing it:
Code:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.255.0   U     0      0        0 eth1
loopback        *               255.0.0.0       U     0      0        0 lo
default         192.168.0.1     0.0.0.0         UG    1      0        0 eth1


The genmask is totally messed up in the startup script and I have no idea how to fix it since I did not change anything and after a recent update it went bonkers.

/etc/conf.d/net
Code:

config_eth1=( "192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255" )
routes_eth1=( "default via 192.168.0.1" )


What then should I add to net config to force the netmask to 0.0.0.0 ?
_________________
"Ubuntu" - an African word meaning "Gentoo is too hard for me".


Last edited by My_World on Wed Jan 16, 2008 6:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
telperion
n00b
n00b


Joined: 07 Jan 2008
Posts: 3

PostPosted: Wed Jan 16, 2008 5:03 pm    Post subject: Reply with quote

same for me.
If you have baselayout-1.12.11
then

Code:
emerge =baselayout-1.12.10-r5


reboot and update to
baselayout-1.12.11.1

http://gentoo-portage.com/sys-apps/baselayout/ChangeLog#ptabs
https://bugs.gentoo.org/show_bug.cgi?id=205894
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum