lkml.org 
[lkml]   [1999]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectifconfig eth0:0 down removes all virtual interfaces
1.
#!/bin/sh
ifconfig eth0:0 192.168.100.1
ifconfig eth0:1 192.168.100.2
ifconfig eth0:2 192.168.100.3
ifconfig eth0:3 192.168.100.5
ifconfig eth0:4 192.168.100.100

This adds 5 virtual interfaces. OK so far.

2.
ifconfig eth0:0 down

This removes ALL virtual interfaces!
If I try to remove eth0:1 it wil remove only eth0:1 and leave others up.

2.2.1ac5 (not time at the moment to test non-ac kernel), eth0 is not from
192.168.100.* net.

---
Meelis Roos (mroos@tartu.cyber.ee)


-
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/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.115 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site