Re: [RFC] ip / ifconfig redesign

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2005-12-02 14:34:08 -0800, Jeff Haran <[email protected]> wrote:
> > > The obvious benefit here, would be the transparent ability 
> > for apps to bind 
> > > to addresses, regardless of the link existence.
> > 
> > # echo 1 > /proc/sys/net/ipv4/ip_nonlocal_bind
> > 
> > and/or bind to address 0 (aka 0.0.0.0) instead of a given IP address.
> kchan          :root> ip addr show
> 1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue 
>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>     inet 127.0.0.1/16 scope host lo
> 2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
>     link/ether 00:05:1e:35:00:49 brd ff:ff:ff:ff:ff:ff
>     inet 10.32.246.19/20 brd 10.32.255.255 scope global eth0
>     inet 10.32.246.16/20 brd 10.32.255.255 scope global secondary eth0:1
> 3: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
>     link/ether 00:05:1e:35:00:4a brd ff:ff:ff:ff:ff:ff
>     inet 10.0.0.6/24 brd 10.255.255.255 scope global eth1
> 4: eth2: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
>     link/ether 00:05:1e:35:00:4b brd ff:ff:ff:ff:ff:ff
>     inet 127.1.16.16/24 brd 127.255.255.255 scope global eth2
> 6: fc0: <BROADCAST,UP> mtu 2024 qdisc pfifo_fast qlen 100
>     link/ieee802 00:05:1e:35:00:49 brd ff:ff:ff:ff:ff:ff
>     inet 2.3.4.6/24 brd 2.3.4.255 scope global fc0
> kchan          :root> ip addr add 4.5.6.7
> Not enough information: "dev" argument is required.
> kchan          :root> 

We were talking about apps binding to a non-local address. That is,
some locally running server binds to any address that is not yet there
(anything except 0.0.0.0, 127.0.0.1, 10.32.246.19, 109.32.246.16,
10.0.0.6, 127.1.16.16, 2.3.4.6).  So we're talking about two different
subjects...

MfG, JBG

-- 
Jan-Benedict Glaw       [email protected]    . +49-172-7608481             _ O _
"Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg  _ _ O
 für einen Freien Staat voll Freier Bürger"  | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux