Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 May 2004 05:52:26 -0400
From:      "Travis Troyer" <tm_troyer@hotmail.com>
To:        freebsd-questions@freebsd.org
Subject:   3 Nics - Dual (Tripe) Homed Host
Message-ID:  <BAY17-F330YqlQJOett00028598@hotmail.com>

next in thread | raw e-mail | index | archive | help
I have a FreeBSD system that acts as a NAT Gateway, currently providing on 
LAN with access to the Internet.  I have added a third NIC, connected to a 
second LAN.  The second LAN does not need internet access, but I would like 
it to be able to communicate with the first LAN.  I have tried reading 
various sources, but have not found anything dealing with this situation. I 
would appreciate any help.  Below is a diagram of my current setup and the 
output of ifconfig.

                             Internet
                                 |
                 [ xl0: DHCP assigned ]
                            Router
                             |      |
             [ xl1: 10.0.0.1]  [ xl3: 192.168.1.10]
         10.0.0.0/24 LAN  192.168.1.0/24 LAN

Output of ifconfig:
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=8<VLAN_MTU>
        inet 24.33.126.252 netmask 0xffffff00 broadcast 255.255.255.255
        ether 00:60:97:74:35:b0
        media: Ethernet autoselect (10baseT/UTP)
        status: active
xl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255
        ether 00:01:02:37:93:eb
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255
        ether 00:01:02:cc:63:d2
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000

_________________________________________________________________
Check out the coupons and bargains on MSN Offers! http://youroffers.msn.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY17-F330YqlQJOett00028598>