Re: strange routes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Iain Buchanan wrote:

On Mon, 2003-08-18 at 16:03, David Leslie wrote:


Firstly, where does 169.254.0.0 come from? I never asked it to be
there!!


This is the address range that windows machines will use when they can not
find a dhcp server.


[snip]

I assumed it was something windozy that would make me roll my eyes.


This is really pathetic, I vote that we remove this feature.. :))



Try placing the line
NOZEROCONF='yes'
in /etc/sysconfig/network-scripts/ifcfg-eth0



That didn't seem to make any difference. I couldn't find it in /usr/share/doc/initscripts-7.14/sysconfig.txt and google seemed to be obscure on the topic.

[snip]


Secondly, why do I have _three_ default routes? (The IP is right) I
set this up with redhat-config-network (including the 10... alias). The
default routes appear every time I do an ifup.


in /etc/hosts
comment out any duplicate lines, so that only one of each remains.



That didn't seem to do anything either. I still have three default routes and I still have the useless 169.254.0.0 entry.



I noticed that one of my machines also has this.. it seems that if your default route interface has more than one "sub-if" it just keeps re-added the default route.. bug?


eth1 Link encap:Ethernet HWaddr 00:10:4B:D5:1C:49 inet addr:69.2.245.242 Bcast:69.2.245.247 Mask:255.255.255.248 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1547928 errors:0 dropped:0 overruns:0 frame:0 TX packets:1415936 errors:0 dropped:0 overruns:0 carrier:4 collisions:687 txqueuelen:100 RX bytes:1106063571 (1054.8 Mb) TX bytes:362952054 (346.1 Mb) Interrupt:12 Base address:0xec00

eth1:1    Link encap:Ethernet  HWaddr 00:10:4B:D5:1C:49
         inet addr:69.2.245.243  Bcast:69.2.245.247  Mask:255.255.255.248
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:1547928 errors:0 dropped:0 overruns:0 frame:0
         TX packets:1415936 errors:0 dropped:0 overruns:0 carrier:4
         collisions:687 txqueuelen:100
         RX bytes:1106063571 (1054.8 Mb)  TX bytes:362952054 (346.1 Mb)
         Interrupt:12 Base address:0xec00

eth1:2    Link encap:Ethernet  HWaddr 00:10:4B:D5:1C:49
         inet addr:69.2.245.244  Bcast:69.2.245.247  Mask:255.255.255.248
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:1547928 errors:0 dropped:0 overruns:0 frame:0
         TX packets:1415936 errors:0 dropped:0 overruns:0 carrier:4
         collisions:687 txqueuelen:100
         RX bytes:1106063571 (1054.8 Mb)  TX bytes:362952054 (346.1 Mb)
         Interrupt:12 Base address:0xec00

eth1:3    Link encap:Ethernet  HWaddr 00:10:4B:D5:1C:49
         inet addr:69.2.245.245  Bcast:69.2.245.247  Mask:255.255.255.248
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:1547928 errors:0 dropped:0 overruns:0 frame:0
         TX packets:1415936 errors:0 dropped:0 overruns:0 carrier:4
         collisions:687 txqueuelen:100
         RX bytes:1106063571 (1054.8 Mb)  TX bytes:362952054 (346.1 Mb)
         Interrupt:12 Base address:0xec00

eth1:4    Link encap:Ethernet  HWaddr 00:10:4B:D5:1C:49
         inet addr:69.2.245.246  Bcast:69.2.245.247  Mask:255.255.255.248
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:1547928 errors:0 dropped:0 overruns:0 frame:0
         TX packets:1415936 errors:0 dropped:0 overruns:0 carrier:4
         collisions:687 txqueuelen:100
         RX bytes:1106063571 (1054.8 Mb)  TX bytes:362952054 (346.1 Mb)
         Interrupt:12 Base address:0xec00


[root@bmad root]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
69.2.245.240 0.0.0.0 255.255.255.248 U 0 0 0 eth1
[snip]
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 69.2.245.241 0.0.0.0 UG 0 0 0 eth1
0.0.0.0 69.2.245.241 0.0.0.0 UG 0 0 0 eth1
0.0.0.0 69.2.245.241 0.0.0.0 UG 0 0 0 eth1
0.0.0.0 69.2.245.241 0.0.0.0 UG 0 0 0 eth1
0.0.0.0 69.2.245.241 0.0.0.0 UG 0 0 0 eth1
[root@bmad root]#


--Tommy

Also: I have to delete _all_ three default routes, and then add one
again (as opposed to deleting just two) or networking doesn't work...

Thanks for your help so far,





--
Tommy McNeely   --   Tommy.McNeely@xxxxxxx
Sun Microsystems   --   IT CTO
Phone/Fax: x51837 / 303-395-3361



--
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux