Re: How to remove a dummy interface on the fly

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

 



Stephen Parfitt wrote:
Hi,
When working with LVS I need to add dummy0 interfaces to the real
servers like this:
#ifconfig dummy0 192.168.10.7 netmask 255.255.255.0 This then shows up and works nicely: [root@gbcdff1274m ~]# ifconfig -a dummy0 Link encap:Ethernet HWaddr DA:37:9F:77:D0:99 inet addr:192.168.10.7 Bcast:192.168.10.255
Mask:255.255.255.0
          inet6 addr: fe80::d837:9fff:fe77:d099/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:210 (210.0 b) The problem is, the servers are shared and after testing I need to hand
them back, the only way I know to remove the dummy0 interface is to
reboot the machine, is there a nice way I can remove it from the command
line without a reboot?
I've tried: ifconfig dummy0 down, this disables it but it remains in the list.
/etc/init.d/network restart and it still remains
Any help much appreciated. Steve P
ifconfig del?
man ifconfig

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux