From owner-freebsd-questions Thu Jul 12 17:10:44 2001 Delivered-To: freebsd-questions@freebsd.org Received: from buug.homeip.net (we-66-27-250-19.we.mediaone.net [66.27.250.19]) by hub.freebsd.org (Postfix) with ESMTP id 6FE7837B401 for ; Thu, 12 Jul 2001 17:10:39 -0700 (PDT) (envelope-from bear@buug.homeip.net) Received: from localhost (localhost [127.0.0.1]) by buug.homeip.net (8.11.4/8.11.4) with ESMTP id f6D0BL519804 for ; Thu, 12 Jul 2001 17:11:21 -0700 (PDT) (envelope-from bear@buug.homeip.net) Date: Thu, 12 Jul 2001 17:11:21 -0700 (PDT) From: Joseph Garcia X-X-Sender: To: Subject: Re: How do I Route 3 different networks On One Interface (follow-up) In-Reply-To: <20010712160521.H19644-100000@localhost> Message-ID: <20010712165931.Q19773-100000@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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 10baseT/UTP 10base5/AUI 10base2/BNC 10baseT/UTP none faith0: flags=8000 mtu 1500 gif0: flags=8010 mtu 1280 gif1: flags=8010 mtu 1280 gif2: flags=8010 mtu 1280 gif3: flags=8010 mtu 1280 lo0: flags=8049 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 ppp0: flags=8010 mtu 1500 sl0: flags=c010 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 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 0 0 0 0 0 gif0* 1280 0 0 0 0 0 gif1* 1280 0 0 0 0 0 gif2* 1280 0 0 0 0 0 gif3* 1280 0 0 0 0 0 lo0 16384 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 0 0 0 0 0 sl0* 552 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