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

Re: Multiple IPs for a machine



> Hi,
> 
> Shouldn't it be 'eth0:1' instead of 'eth0:0'?
> 
> Thanks,
> Ardo
...

Who cares:

# ifconfig eth1:12 192.168.94.2
# ifconfig 
eth1      Link encap:Ethernet  HWaddr 00:C0:F0:4D:90:96  
          inet addr:192.168.93.3  Bcast:192.168.93.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:26516 errors:1 dropped:0 overruns:0 frame:0
          TX packets:15169 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:2492545 (2.3 MiB)  TX bytes:1661547 (1.5 MiB)
          Interrupt:11 Base address:0xc400 

eth1:12   Link encap:Ethernet  HWaddr 00:C0:F0:4D:90:96  
          inet addr:192.168.94.2  Bcast:192.168.94.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:11 Base address:0xc400 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1109 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1109 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:156812 (153.1 KiB)  TX bytes:156812 (153.1 KiB)

# ifconfig eth1:12 down        
# ifconfig eth1:0 192.168.93.4
# ifconfig 
eth1      Link encap:Ethernet  HWaddr 00:C0:F0:4D:90:96  
          inet addr:192.168.93.3  Bcast:192.168.93.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:26532 errors:1 dropped:0 overruns:0 frame:0
          TX packets:15193 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:2493976 (2.3 MiB)  TX bytes:1663515 (1.5 MiB)
          Interrupt:11 Base address:0xc400 

eth1:0    Link encap:Ethernet  HWaddr 00:C0:F0:4D:90:96  
          inet addr:192.168.93.4  Bcast:192.168.93.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:11 Base address:0xc400 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1109 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1109 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:156812 (153.1 KiB)  TX bytes:156812 (153.1 KiB)

# 



-- 
To UNSUBSCRIBE, email to debian-sparc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: