Date: Thu, 12 Jul 2001 17:11:21 -0700 (PDT) From: Joseph Garcia <bear@buug.homeip.net> To: <questions@FreeBSD.ORG> Subject: Re: How do I Route 3 different networks On One Interface (follow-up) Message-ID: <20010712165931.Q19773-100000@localhost> In-Reply-To: <20010712160521.H19644-100000@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 12 Jul 2001, Joseph Garcia wrote: Oh yeah, one more thing. In the original post I was using 192.168.100.1/29 but now I switched it to 192.168.20.1/29 for one of my networks. I thought it would be shorter to write. Just an IP change. The netmask stays the same. Sorry for the troubles, but I guess that's what happens when you're experimenting, right? :) Here's all the pertinent data for this situation: ifconfig output: tl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet6 fe80::280:5fff:feb6:3731%tl0 prefixlen 64 scopeid 0x1 inet 192.168.0.8 netmask 0xffffff00 broadcast 192.168.0.255 inet 192.168.20.1 netmask 0xfffffff8 broadcast 192.168.20.7 inet 192.168.10.100 netmask 0xffffff00 broadcast 192.168.10.255 ether 00:80:5f:b6:37:31 media: autoselect (10baseT/UTP) status: active supported media: autoselect 10baseT/UTP <full-duplex> 10baseT/UTP 10base5/AUI 10base2/BNC 10baseT/UTP <hw-loopback> none faith0: flags=8000<MULTICAST> mtu 1500 gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280 gif1: flags=8010<POINTOPOINT,MULTICAST> mtu 1280 gif2: flags=8010<POINTOPOINT,MULTICAST> mtu 1280 gif3: flags=8010<POINTOPOINT,MULTICAST> mtu 1280 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500 sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552 netstat -rn output: Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.0.1 UGSc 2 0 tl0 127.0.0.1 127.0.0.1 UH 0 74 lo0 192.168 link#1 UC 0 0 tl0 => 192.168.0.31 0:4:0:44:27:f7 UHLS 0 89 tl0 192.168.10 link#1 UC 0 0 tl0 => 192.168.20/29 link#1 UC 0 0 tl0 => Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UH lo0 fe80::%tl0/64 link#1 UC tl0 fe80::%lo0/64 fe80::1%lo0 Uc lo0 ff01::/32 ::1 U lo0 ff02::%tl0/32 link#1 UC tl0 ff02::%lo0/32 fe80::1%lo0 UC lo0 netstat -in output: Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll tl0 1500 <Link#1> 00:80:5f:b6:37:31 3291764 0 154908 0 763 tl0 1500 fe80:1::280 fe80:1::280:5fff: 0 - 0 - - tl0 1500 192.168 192.168.0.8 451125 - 76629 - - tl0 1500 192.168.20/29 192.168.20.1 0 - 0 - - tl0 1500 192.168.10 192.168.10.100 47 - 2 - - faith 1500 <Link#2> 0 0 0 0 0 gif0* 1280 <Link#3> 0 0 0 0 0 gif1* 1280 <Link#4> 0 0 0 0 0 gif2* 1280 <Link#5> 0 0 0 0 0 gif3* 1280 <Link#6> 0 0 0 0 0 lo0 16384 <Link#7> 106 0 106 0 0 lo0 16384 fe80:7::1/6 fe80:7::1 0 - 0 - - lo0 16384 ::1/128 ::1 6 - 6 - - lo0 16384 127 127.0.0.1 74 - 74 - - ppp0* 1500 <Link#8> 0 0 0 0 0 sl0* 552 <Link#9> 0 0 0 0 0 sysctl -a | grep forward output: net.inet.ip.forwarding: 1 That's everything I have right now, and I promis not to screw with it again until I make some sense of it all. :) Again, sorry for the funky wrapping of the text. It might not be pretty, but it's politically correct. TIA, Joey To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010712165931.Q19773-100000>