Date: Thu, 19 Apr 2001 12:56:57 +1000 (EST) From: taylorm@bytecraft.au.com (User Taylorm) To: freebsd-net@freebsd.org Subject: Routing on an aliased IP?? Message-ID: <20010419025657.1161FBA27@spyder.bytecraft.au.com>
next in thread | raw e-mail | index | archive | help
I have a host with two external interfaces - ng0 and fxp0 The system default route is ok via ng0 The fxp0 card has a 10.x.y.z address and a 'real' IP address a.b.c.1 aliased to it. The reasoning is that the 10 network is our existing M$lop addresses, and the real IP is the internet web site. (We will eventually be renumbering the Micro$lop hosts to a.b.c.??? numbers soon, at which time I expect this problem to go away) The problem I am seeing is that there does not seem to be a route from the 10 net to the a.b.c net. The DNS server is on the a.b.c.1 host and only serves a.b.c IPs. The Win hosts have a gateway set up to point to the 10.x.y.z address, yet cant ping the a.b.c address range. If I reconfigure the Win host to have a a.b.c number then it can ping other a.b.c numbers but cant ping 10. numbers! From the actual FreeSD host I can ping both 10 net and a.b.c numbers. Do I need to have separate interfaces for routing between the networks, or is there something else I can do? 75.871/3.705 ms spyder# netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default r.s.t.1 UGSc 25 71376 ng0 10.1/16 link#1 UC 0 0 fxp0 => 10.1.2.2 0:0:f8:78:97:b7 UHLW 1 6639 fxp0 1084 10.1.2.3 0:0:f8:1e:ad:9e UHLW 0 1263 fxp0 1181 10.1.2.4 0:60:67:70:af:22 UHLW 0 528 fxp0 1004 10.1.2.5 0:60:67:44:18:10 UHLW 0 0 fxp0 1188 10.1.2.7 0:60:67:70:ac:4e UHLW 1 4766 fxp0 1181 10.1.2.22 link#1 UHLW 1 8 fxp0 => 10.1.2.30 0:50:8b:f1:de:df UHLW 1 956 lo0 10.1.2.32 0:50:8b:f1:ec:37 UHLW 0 4 fxp0 261 10.1.2.46 link#1 UHLW 1 1668 fxp0 => 10.1.2.47 0:0:4c:33:d8:cd UHLW 1 43 fxp0 1096 10.1.2.129 0:10:5a:81:b0:30 UHLW 1 902 fxp0 1183 10.1.255.255 ff:ff:ff:ff:ff:ff UHLWb 2 8417 fxp0 127.0.0.1 127.0.0.1 UH 0 900 lo0 r.s.t.1 r.s.t.13 UH 25 0 ng0 a.b.c.0 ff:ff:ff:ff:ff:ff UHLWb 0 44 fxp0 => a.b.c/26 link#1 UC 0 0 fxp0 => a.b.c.1 0:50:8b:f1:de:df UHLW 0 79 lo0 a.b.c.42 0:0:4c:ed:78:5e UHLW 3 2494 fxp0 1195 a.b.c.63 ff:ff:ff:ff:ff:ff UHLWb 0 4 fxp0 spyder# ping a.b.c.42 PING a.b.c.42 (a.b.c.42): 56 data bytes 64 bytes from a.b.c.42: icmp_seq=0 ttl=128 time=0.237 ms 64 bytes from a.b.c.42: icmp_seq=1 ttl=128 time=0.256 ms ^C --- a.b.c.42 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.237/0.246/0.256/0.010 ms spyder# ping 10.1.2.4 PING 10.1.2.4 (10.1.2.4): 56 data bytes 64 bytes from 10.1.2.4: icmp_seq=0 ttl=128 time=0.275 ms 64 bytes from 10.1.2.4: icmp_seq=1 ttl=128 time=0.138 ms 64 bytes from 10.1.2.4: icmp_seq=2 ttl=128 time=0.127 ms ^C --- 10.1.2.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.127/0.180/0.275/0.067 ms spyder# TIA Murray T To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010419025657.1161FBA27>