How to remove virtual interface from system?

How to remove virtual interface from system?

Post by Bhara » Thu, 29 Jun 2006 17:24:00



Hi All,

When I reboot my system, one virtual interface(ixe4) comes up and takes
a ip which is assigned for some other system. I am able to remove ip
from virtual interface but uanble to remove interface from system.

Does anybody knows, how to remove virtual interface(ixe4) from system.

 ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index
2
        inet 10.88.2.60 netmask ffffff00 broadcast 10.88.2.255
        ether 0:3:ba:9:de:e8
hme0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500
index 2
        inet 146.11.52.122 netmask ffffff00 broadcast 146.11.255.255
ixe4: flags=10000c0<RUNNING,NOARP,IPv4> mtu 576 index 3
        inet 0.0.0.0 netmask 0

 
 
 

How to remove virtual interface from system?

Post by <n.. » Thu, 29 Jun 2006 17:40:58



> Hi All,

> When I reboot my system, one virtual interface(ixe4) comes up and takes
> a ip which is assigned for some other system. I am able to remove ip
> from virtual interface but uanble to remove interface from system.

> Does anybody knows, how to remove virtual interface(ixe4) from system.

ixe4 isn't a virtual NIC as understood by normal Solaris convention, but
hme0:1 is.

In either case, if the interface is configured at boot time there are
probably files called

/etc/hostname.ixe4
/etc/hostname.hme0:1

Renaming or deleting the appropriate file will prevent the interface being
configured at boot time (there is also the possibility that the interface is
configured by a local customised boot time script but that is something
you'll have to determine on your system.)

Quote:> ifconfig -a
> lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
>        inet 127.0.0.1 netmask ff000000
> hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index
> 2
>        inet 10.88.2.60 netmask ffffff00 broadcast 10.88.2.255
>        ether 0:3:ba:9:de:e8
> hme0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500
> index 2
>        inet 146.11.52.122 netmask ffffff00 broadcast 146.11.255.255
> ixe4: flags=10000c0<RUNNING,NOARP,IPv4> mtu 576 index 3
>        inet 0.0.0.0 netmask 0


 
 
 

1. Removing Virtual Interface

Hi,

I am running solaris 2.5.1.

When I do an ifconfig -a I see the following:

lo0: flags=849<UP,LOOPBACK,RUNNING,MULTICAST> mtu 8232
        inet 127.0.0.1 netmask ff000000
le0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
        inet 192.77.168.204 netmask ffffff00 broadcast 192.77.168.255
        ether 0:0:3b:80:49:54
le0:1: flags=843<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
        inet 192.77.168.203 netmask ffffff00 broadcast 192.77.168.255

I want to remove the le0:1 virtual interface.

I tried the command ifconfig le0:1 192.77.168.203 down.
The le0:1 interface went to down.  But when I do
an ifconfig -a I still see an entry for le0:1 even
though it is inactive.  Is there any way to remove
the entry from showing up when I do a ifconfig -a ???

Thanks for you help

Tom.

2. Apache mod_usertrack question

3. virtual interfaces on a debian system?

4. 2 NICs in Linux

5. Virtual Server - Script to install/remove virtual names

6. Trying WEP w/ Linksys & Mandrake PCMCIA

7. Virtual interface/Virtual web hosting

8. SCO OpenServer 5.0.4, sendmail 8.8 and virtual users

9. Virtual Host/Virtual Interface for NSCA HTTPD 1.5

10. one physical interface, 3 virtual interfaces, and inetd

11. dhcpd on for one interface on two interface system ?

12. removing virtual IPs in solaris 10

13. KDE - How Do You Remove VIrtual Resolution?