Date: Mon, 22 Jun 1998 22:47:42 -0700 From: "Kahn" <kahn@home.com> To: "Joe Schwartz" <rjoe@sierrahill.com>, <freebsd-net@FreeBSD.ORG>, <freebsd-questions@FreeBSD.ORG> Subject: Re: routing issue Message-ID: <004201bd9e6a$73288800$4800a8c0@ERIN.UNET.TM>
next in thread | raw e-mail | index | archive | help
You cannot route the class B of 192.168.xxx.xxx, However you can use natd to run as an invisable proxie. The only problem is if you use a program like ICQ on one of the clients, you will have to add in a socks 5 proxie to. Erin ---------------------------------------------------------------------------- ------------ We are Intel. Division is futile. You will be approximated. ---------------------------------------------------------------------------- ------------ -----Original Message----- From: Joe Schwartz <rjoe@sierrahill.com> To: freebsd-net@freebsd.org <freebsd-net@freebsd.org>; freebsd-questions@freebsd.org <freebsd-questions@freebsd.org> Date: Monday, June 22, 1998 7:15 AM Subject: routing issue > >Folks, > >I want to use a FreeBSD machine as an Internet host with 2 >ethernet cards. One card on an Internet subnet and the other >card to service the internal private network. > >I'm having trouble getting it to route between the 2 interfaces. > > >I have 3 machines setup for a test. > >machine a: >---------- >ifconfig -a >ep0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > inet 207.8.11.165 netmask 0xfffffff8 broadcast 207.8.11.167 > ether 00:a0:24:11:c7:19 > > >machine b: >---------- >ifconfig -a >ep0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > inet 207.8.11.166 netmask 0xfffffff8 broadcast 207.8.11.167 > ether 00:10:4b:29:aa:a7 >ep1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 > ether 00:10:4b:20:94:3a > >machine c: >---------- >ifconfig -a >ep0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255 > ether 00:10:4b:29:ab:da > > > >machine a's default route is set to 207.8.11.166 >machine c's default route is set to 192.168.1.1 > >machine b has a route between the 2 interfaces by issuing: (but doesn't work) > >route add -net 192.168.1.0 207.8.11.166 0 > >machine b can ping machine a and c > >machine a can ping: >207.8.11.166 and 192.168.1.1 but not 192.168.1.2 > >machine c can ping: >192.168.1.1 and 207.8.11.166 but not 207.8.11.165 > >============================================================== > >In /etc/rc.conf I've got: > >gateway_enable="YES" >router_enable="YES" > >Machine b ISN'T routing between the 2 interfaces. Any suggestions? > ----- >I have several machines set up like this for clients working perfectly >under FreeBSD 2.1.x. > >Does FreeBSD 2.2.x expect a subtle difference somehow? Is my 'route add' >command incorrect? > >HELP!! >THANKS, > >Joe > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-net" in the body of the message > 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?004201bd9e6a$73288800$4800a8c0>