Hi, Not tired that, have done now but its still listed: [root@gbcdff0796l AvayaBase]# ifconfig -a dummy0 Link encap:Ethernet HWaddr 7E:D8:B1:06:E1:29 BROADCAST NOARP MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:85 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:9459 (9.2 KiB) eth0 Link encap:Ethernet HWaddr 00:C0:F0:7A:F6:DF inet addr:192.168.35.81 Bcast:192.168.35.255 Mask:255.255.255.0 inet6 addr: fe80::2c0:f0ff:fe7a:f6df/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2014102 errors:0 dropped:0 overruns:0 frame:0 TX packets:622313 errors:18 dropped:0 overruns:2 carrier:18 collisions:0 txqueuelen:1000 RX bytes:661724710 (631.0 MiB) TX bytes:105258270 (100.3 MiB) Interrupt:5 Base address:0x8000 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:509640 errors:0 dropped:0 overruns:0 frame:0 TX packets:509640 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:398248976 (379.7 MiB) TX bytes:398248976 (379.7 MiB) sit0 Link encap:IPv6-in-IPv4 NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) How do I get rid of the thing!? -----Original Message----- From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Barry Brimer Sent: 08 September 2008 13:49 To: General Red Hat Linux discussion list Subject: RE: How to remove a dummy interface on the fly On Mon, 8 Sep 2008, Stephen Parfitt wrote: > Hi, > > Thanks Sark, trouble is though, there is no script, I create the dummy interface manually with ifconfig. I thought a /etc/init.d/network restart would remove the dummy0 interface too but its still there. > > There is no ifconfig delete that relates to removing an interface. > > Has anyone managed to remove a dummy interface? Have you tried "ifconfig dummy0 0.0.0.0"? > -----Original Message----- > From: redhat-list-bounces@xxxxxxxxxx > [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Sakthivel > Sent: 07 September 2008 08:02 > To: General Red Hat Linux discussion list > Subject: Re: How to remove a dummy interface on the fly > > hi, > > Remove the /etc/sysconfig/network-scripts/ifcfg-dummy0 file and restart the network service and check. > > Reagrds, > Sark. > > --- On Fri, 9/5/08, Stephen Parfitt <sparfitt@xxxxxxxxx> wrote: > From: Stephen Parfitt <sparfitt@xxxxxxxxx> > Subject: How to remove a dummy interface on the fly > To: redhat-list@xxxxxxxxxx > Date: Friday, September 5, 2008, 12:55 PM > > 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 > -- > redhat-list mailing list > unsubscribe > mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > > > > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=subscribe > https://www.redhat.com/mailman/listinfo/redhat-list > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > > !DSPAM:48c4f7b968801352593867! > > -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list