how to have nic but no IP?

Red Squirrel

No Lifer
May 24, 2003
70,356
13,680
126
www.anyf.ca
I have a nic I'll be using strictly for bridging VMs to. I don't want the NIC to have an IP as it is very important that there is zero access to the physical server through that nic (outside of VMs as they'll be on a seperate network). If I do bootproto=none I don't get an IPv4 IP but by default I get an IPv6 IP. I want it to have no IP at all.

Or is there a way with iptables to just block it off completly of tcp/ip traffic? (think vmware would bypass this)
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
I think you either have to disable IPv6 completely or use a post-up script (if RH's tools support them) that uses the ip command to remove the IPv6 address after the interface comes up.