#1
  1. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2003
    Location
    New Mexico
    Posts
    36
    Rep Power
    12

    Two NICs, Three networks?


    FreeBSD 6.2

    Code:
    ifconfig_bce0="inet 192.168.1.59  netmask 255.255.255.0"
    defaultrouter="192.168.1.4"
    ifconfig_bce1="inet 172.22.221.100  netmask 255.255.255.0"
    and I am getting warnings that traffic from bce0 is coming back through bce1:

    kernel: arp: 192.168.1.169 is on bce0 but got reply from 00:21:70:10:4c:70 on bce1

    How can I modify my configuration (routing?) to prevent this error? Also, I need to talk on a 172.168.1 network (same physical cable). How can I configure that?

    This Dell server sports VPN aware NICs. Can I take advantage of that?

    Uuuh, BTW, 172.168.1 is AOL address space. So I think I have to point to my local gateway in order to avoid routing out to the public network. All of this is class c.
    Last edited by tokind; July 3rd, 2008 at 03:57 PM. Reason: Wrinkle
    Thomas Kindig
    http://www.tokind.com
    "We are as gods and might as well get good at it." -Stewart Brand
  2. #2
  3. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,592
    Rep Power
    4207
    You can bind the second IP like this:
    ifconfig_bce1_alias0="inet 172.xxx.x.x netmask 255.255.255.255"

    Note the netmask

    As for the other issue, can you please post the output of ifconfig and netstat -ar here.
    Up the Irons
    What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
    "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
    Down with Sharon Osbourne

    "I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo

IMN logo majestic logo threadwatch logo seochat tools logo