lkml.org 
[lkml]   [2005]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] ip / ifconfig redesign
On Fri, 2005-12-02 14:34:08 -0800, Jeff Haran <jharan@Brocade.COM> 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 jbglaw@lug-owl.de . +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));
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-12-03 16:02    [W:0.038 / U:1.052 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site