FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Red Hat Linux

 
 
LinkBack Thread Tools
 
Old 09-05-2008, 07:25 AM
"Stephen Parfitt"
 
Default How to remove a dummy interface on the fly

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:770: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@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 09-05-2008, 03:45 PM
Lord of Gore
 
Default How to remove a dummy interface on the fly

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:770: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@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 09-07-2008, 07:01 AM
Sakthivel
 
Default 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@avaya.com> wrote:
From: Stephen Parfitt <sparfitt@avaya.com>
Subject: How to remove a dummy interface on the fly
To: redhat-list@redhat.com
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:770: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@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 09-07-2008, 07:02 AM
Sakthivel
 
Default 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@avaya.com> wrote:
From: Stephen Parfitt <sparfitt@avaya.com>
Subject: How to remove a dummy interface on the fly
To: redhat-list@redhat.com
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:770: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@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 09-08-2008, 09:58 AM
"Stephen Parfitt"
 
Default How to remove a dummy interface on the fly

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?


Steve P

-----Original Message-----
From: redhat-list-bounces@redhat.com [mailto:redhat-list-bounces@redhat.com] 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@avaya.com> wrote:
From: Stephen Parfitt <sparfitt@avaya.com>
Subject: How to remove a dummy interface on the fly
To: redhat-list@redhat.com
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:770: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@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




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

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 09-08-2008, 12:48 PM
Barry Brimer
 
Default 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@redhat.com [mailto:redhat-list-bounces@redhat.com] 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@avaya.com> wrote:
From: Stephen Parfitt <sparfitt@avaya.com>
Subject: How to remove a dummy interface on the fly
To: redhat-list@redhat.com
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:770: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@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




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

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

!DSPAM:48c4f7b968801352593867!

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 09-08-2008, 01:08 PM
"Stephen Parfitt"
 
Default How to remove a dummy interface on the fly

Hi,

Not tired that, have done now but its still listed:



[root@gbcdff0796l AvayaBase]# ifconfig -a
dummy0 Link encap:Ethernet HWaddr 7E8: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:F6F
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@redhat.com [mailto:redhat-list-bounces@redhat.com] 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@redhat.com
> [mailto:redhat-list-bounces@redhat.com] 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@avaya.com> wrote:
> From: Stephen Parfitt <sparfitt@avaya.com>
> Subject: How to remove a dummy interface on the fly
> To: redhat-list@redhat.com
> 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:770: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@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@redhat.com?subject=subscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
> !DSPAM:48c4f7b968801352593867!
>
>

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

Thread Tools




All times are GMT. The time now is 06:41 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org