Messages in this thread | | | Date | Fri, 26 Feb 1999 08:26:50 -0500 (EST) | From | "Nicholas J. Leon" <> | Subject | more autorouting! |
| |
Friends - I have a question here that I'm afraid has to do with ifconfig/autorouting in 2.2.2-ac2. I had just upgraded my ppp/firewall box from RH 5.2 to linux 2.2.2 (installing all the suggested package and upgrades). This box has about 7 or so ip aliases on it.
Previously, in 2.0.0, everything worked as expected; including data coming FROM that box appearing to be coming from the IP of eth0. Now, with 2.2.2-ac2, traffic leaving the box (etherwise) appears to be coming from one of the IP aliases I set up.
eth0 Link encap:Ethernet HWaddr 00:A0:24:18:F6:F1 inet addr:x.y.z.38 Bcast:x.y.z.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:45934 errors:0 dropped:0 overruns:0 frame:0 TX packets:29601 errors:0 dropped:0 overruns:0 carrier:0 collisions:126 txqueuelen:100 Interrupt:10 Base address:0x300
eth0:2 Link encap:Ethernet HWaddr 00:A0:24:18:F6:F1 inet addr:x.y.z.2 Bcast:x.y.z.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0x300
eth0:3 Link encap:Ethernet HWaddr 00:A0:24:18:F6:F1 inet addr:x.y.z.3 Bcast:x.y.z.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0x300
eth0:4 Link encap:Ethernet HWaddr 00:A0:24:18:F6:F1 inet addr:x.y.z.4 Bcast:x.y.z.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0x300
eth0:5 Link encap:Ethernet HWaddr 00:A0:24:18:F6:F1 inet addr:x.y.z.5 Bcast:x.y.z.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0x300
eth0:10 Link encap:Ethernet HWaddr 00:A0:24:18:F6:F1 inet addr:x.y.z.10 Bcast:x.y.z.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0x300
eth0:11 Link encap:Ethernet HWaddr 00:A0:24:18:F6:F1 inet addr:x.y.z.11 Bcast:x.y.z.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0x300
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:3924 Metric:1 RX packets:10177 errors:0 dropped:0 overruns:0 frame:0 TX packets:10177 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
ppp0 Link encap:Point-to-Point Protocol inet addr:x.y.z.1 P-t-P:38.1.1.1 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1000 Metric:1 RX packets:11440 errors:1 dropped:0 overruns:0 frame:1 TX packets:11918 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:10
When I see traffic coming from box this (not over the ppp connection but over the ethernet) is seems to be coming from eth0:3. Why #3? I don't have a clue. My routing table looks like:
Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface ftp.foobar9.net * 255.255.255.255 UH 0 0 0 eth0 ns.foobar9.net * 255.255.255.255 UH 0 0 0 eth0 otaku.foobar9.n * 255.255.255.255 UH 0 0 0 eth0 255.255.255.255 * 255.255.255.255 UH 0 0 0 eth0 mail.foobar9.ne * 255.255.255.255 UH 0 0 0 eth0 www.foobar9.net * 255.255.255.255 UH 0 0 0 eth0 38-default-gw.p * 255.255.255.255 UH 0 0 0 ppp0 mrnick.foobar9. * 255.255.255.255 UH 0 0 0 eth0 localhost * 255.255.255.255 UH 0 0 0 lo www.didactics.b * 255.255.255.255 UH 0 0 0 eth0 206.4.67.0 * 255.255.255.0 U 0 0 0 eth0 default 38-default-gw.p 0.0.0.0 UG 0 0 0 ppp0
I don't know why it would choose eth0:3 as its source addy, but it does. Does anyone have any suggestions? This is partially a cosmectic issue, partially a "what addy do I block on my inside firewall" issue.
Thanx!
G'day! -- n i c h o l a s j l e o n elegance through simplicity*http://mrnick.binary9.net*nicholas@binary9.net good fortune through truth*roaming:njllm@email.msn.com*ICQ#2170994*U+($++) TRA#6805*not all questions have answers*pseudogeek:P+++($++)L+($++)W=lm@b9 trust no-one with an iq under 150*understand yourself before trying others
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |