RE: Multiple Interfaces

From: Bob (bob_at_starblanket.ca)
Date: 07/31/03

  • Next message: Michael W. Oliver: "Re: freevrrp"
    To: <freebsd-net@freebsd.org>
    Date: Thu, 31 Jul 2003 11:07:18 -0600
    
    

    Greets

    > I have two interfaces and the following info in rc.conf. The
    > first one is
    > setup properly but the second one never gets configured.
     
    I just went through this process myself.

    The word I have is that FreeBSD cannot run two NICs on
    the same subnet, which is what your included config shows.
    So try as you may it will not work. I also tested 4.7, 5.0
    and 5.1 with similar results.

    Here is a snippet of an email I received on this topic:

    Begin

    Well, as long as I can tell, one can't have 2 ifaces on the same subnet
    on FreeBSD. This seems to be regarded as a feature by the guys who have
    written the code. "It's arguable that it should be done any other way,
    since it will put questions like what interface will be used for
    outgoing segments to the subnet ? etc. which will require to manually
    assign the arp table as log as you have the rest of the nodes of the
    subnet connected throu some kind of switches or to still have all
    outgoing connections throu a preferred interface which will require a
    SRC (IP+MAC) addresses of the other interface and will unnecessary
    complicated the hole thing". So the result will be a gain in the speed
    of incoming segments but more load on the system.

    END

    >What am I missing?

    All you are missing is the fact FreeBSD cannot handle
    two NICs the same subnet. OpenBSD does, NetBSD does and Linux does.

    Regards

    Bob D

    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Michael W. Oliver: "Re: freevrrp"

    Relevant Pages

    • Problem with IPFilter/IPNAT
      ... I am using IPFilter and IPNat on several FreeBSD boxes. ... The LAN machines use the FreeBSD as the ... I run cache-only config. ... rl1 is external interface. ...
      (freebsd-questions)
    • RE: Multiple Interfaces
      ... > The word I have is that FreeBSD cannot run two NICs on ... > the same subnet, which is what your included config shows. ... The trick is to configure second interface with netmask 255.255.255.255. ...
      (freebsd-net)
    • Re: changing pix internal address
      ... I have rewritten the config file to reflect what I feel the configuration should look like. ... I cant just ditch the .1 subnet, I got printers workstations, other routers and servers stuck in there. ... :I want to reconfigure the pix to be on 192.168.41.x but not cause ... :can I bind two addresses to the pix internal interface as an intrim ...
      (comp.dcom.sys.cisco)
    • Re: Multiple Interfaces
      ... >> the same subnet, which is what your included config shows. ... That interface can't be default gateway. ... you have two interfaces on the same network. ... implementation details on the various FreeBSD network stacks. ...
      (freebsd-net)
    • Re: Simple PIX 501 config
      ... Inside interface 172.31.1.1 255.255.255.0 ... kinda hard when we dont know you present config. ... Cisco Pix 501 ... Also let me know if the subnet mask "255.255.0.0" ...
      (comp.dcom.sys.cisco)