Re: [GnomeMeeting-devel-list] Re: Network interface resets when offline



maillog: 11/05/2005-09:15:17(+0100): Peter Robinson types
> > just to take this discussion even further into obscurity... *g*
> > What does happen if one interface has multiple IPs? Why wouldn't i want
> > to select the IP but rather the entire interface (except for the known
> > multihomed LAN/WAN config)? Or let's say even if i can already spot the
> > interface correctly, why not give the IP aswell (and autosense the iface
> > if the IP is given)?
> 
> Isn't separate IPs on a physical interface under Linux assigned
> through sub interfaces like eth0:0 eth0:1 or in the vlan scenario
> eth0.0 eth0.1 and hence would appear to an application as separate
> interfaces anyway?

No.

$ /sbin/ip addr show dev eth0
3: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:90:fe:53:07:9e brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.9/24 scope global eth0
    inet 10.0.0.8/24 scope global secondary eth0
    inet 10.0.0.7/24 scope global secondary eth0
    inet6 fe80::290:feff:fe53:79e/64 scope link 
       valid_lft forever preferred_lft forever

$ /sbin/ifconfig 
eth0      Link encap:Ethernet  HWaddr 00:90:FE:53:07:9E  
          inet addr:10.0.0.9  Bcast:0.0.0.0  Mask:255.255.255.0
          inet6 addr: fe80::290:feff:fe53:79e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:18510173 errors:0 dropped:3 overruns:0 frame:0
          TX packets:25722890 errors:2 dropped:0 overruns:2 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:652036391 (621.8 Mb)  TX bytes:209652511 (199.9 Mb)
          Interrupt:10 Base address:0x3400 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:185483 errors:0 dropped:0 overruns:0 frame:0
          TX packets:185483 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:22623287 (21.5 Mb)  TX bytes:22623287 (21.5 Mb)

ifconfig's the old one and it doesn't even know about my other IP
addresses.

-- 
 /   Georgi Georgiev    / I owe, I owe, It's off to work I go...        /
\     chutz gg3 net    \                                               \
 /  +81(90)2877-8845    /                                               /



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