Re: [RFC] ifconfig: match by link-level address

From: Louis A. Mamakos (louie_at_TransSys.COM)
Date: 05/24/04

  • Next message: George V.Neville-Neil: "Re: Bugfix for checksum offload in bge(4)"
    To: Alex Semenyaka <flist@jabberwock.rinet.ru>
    Date: Sun, 23 May 2004 19:37:37 -0400
    
    

    This is all pretty interesting, though it seems like you'd only
    need to cobble together a shell script to do what you're after.
    The ifconfig command seems happy to tell you the MAC address of
    a specified interface.. It seems like an already present prototyping
    environment for this type of configuration is at hand.

    louie
     

    > On Thu, May 20, 2004 at 10:18:38AM -0700, Brooks Davis wrote:
    > >> This could be the first step towards teaching rc.conf about something like
    > >> network_interfaces_rename="hw-00:03:0d:08:dc:a7 sis0int"
    > > I don't really like the idea of adding magic values to the interface
    > > namespace that only work with ifconfig. If you want ifconfig to match
    >
    > I agree, but there is another option: make such things not ifconfig-specific.
    > I mean that it could be done though renaming the interface into the some
    > lladdr-dependent name with fixed format. For example,
    >
    > ifconfig fxp0 llname
    >
    > will rename fxp0 into hw-00-90-27-35-ca-0c. As far as we know the format and
    > MAC-address we could then do
    >
    > ifconfig hw-00-90-27-35-ca-0c name pppoeint
    >
    > This could be implemented easely right now and then automated though /etc/rc*
    >
    > Actually the discussing feature is long time expected one, so it would be nice
    > to have it implemented finally :)
    >
    > Sincerely,
    > Alex Semenyaka
    > _______________________________________________
    > 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"

    _______________________________________________
    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: George V.Neville-Neil: "Re: Bugfix for checksum offload in bge(4)"

    Relevant Pages

    • Re: AIX 1.3 Failures and Fables
      ... Found this in #man ifconfig ... " The address family default is DARPA Internet. ... Configures network interface parameters. ...
      (comp.sys.ibm.ps2.hardware)
    • Re: Problem with Bridging ... and bge devices under FreeBSD 7.x?
      ... I'm trying to run a QEMU VM on top of a FreeBSD 7.x server ... ... ifconfig bridge0 destroy ... Using VNC to connect to the VM, I can look at the interface, and it says it is ... So, all I have left is that everything is being setup okay, but there is ...
      (freebsd-net)
    • Re: Problem with Bridging ... and bge devices under FreeBSD 7.x?
      ... I'm trying to run a QEMU VM on top of a FreeBSD 7.x server ... ... ifconfig bridge0 destroy ... Using VNC to connect to the VM, I can look at the interface, and it says it is ... So, all I have left is that everything is being setup okay, but there is ...
      (freebsd-stable)
    • [Summary] ifconfig & adding an IP to a live system
      ... Consensus was ifconfig on live system should work. ... interface. ... like before/after each command. ... I have a critical server that I need to add an IP to. ...
      (SunManagers)
    • Re: Problem with Bridging ... and bge devices under FreeBSD 7.x?
      ... ifconfig bridge0 destroy ... Using VNC to connect to the VM, I can look at the interface, and it says it ... So, all I have left is that everything is being setup okay, but there is ...
      (freebsd-stable)