Re: Hiding a network interface.

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

 



On Thu, Feb 14, 2008 at 08:41:49AM -0600, Styma, Robert E (Robert) wrote:
> 
> For reasons which are long and complicated, I need
> to hide a NIC interface.  The test machine is a
> box with 2 Nic interfaces on the motherboard and
> a strange PCI card with 2 more interfaces.  They
> appear as eth0, eth1, eth2, and eth3.  I need
> to make eth3 not be there. (Not allowed to use
> a soldering iron :-)  ).
> 
> On Solaris I can use "ifconfig unplumb eth3" and
> the device is gone.  ifconfig no longer shows it.
> 
> Is there a way to do this in Fedora/linux.  I thought
> about modules.conf, but that would get rid of both
> nic interfaces since they use the same driver.

You want the driver core to unbind the device.  It's done something
like this (note bnx2 is an ethernet driver, substitute for your own):

echo "eth3" > /sys/bus/pci/drivers/bnx2/unbind

Thanks,
Matt

-- 
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux