Re: automatic routing in 2.2.*

From: Blu3Viper (david@killerlabs.com)
Date: Tue Mar 28 2000 - 16:45:55 EST


On Tue, 28 Mar 2000, Peter T. Breuer wrote:
> Whatever, I'll put a network up when I want one, and I'll put an IP
> address up when I want one. I most definitely DON'T want the machine to
> put a network up for me when I don't say so. The current behaviour is
> broken in several respects:

I.e. probably incorrect networking.

> 1) ifconfig lo:7 down downs lo
> 2) ifconfig lo up ups lo:7
> 3) routes and arp are changed when I put an alias up on lo:7 when I don't
> want this to be anything else but a dummy, visible only locally

your net tools are old and need updated.

there is only one physical device, it is either up or down. the proper way
to think of the device is this:

# ip a s eth1
6: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
    link/ether 00:a0:cc:54:e1:eb brd ff:ff:ff:ff:ff:ff
    inet 208.179.68.66/26 brd 208.179.68.127 scope global eth1
    inet 208.179.68.67/26 brd 208.179.68.127 scope global secondary eth1
...

there is one physical device that can be up or down and one or more
addresses associated with it.

-d

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:23 EST