Removing IP address from eth1 on SUSE


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Removing IP address from eth1 on SUSE
# 1  
Old 06-21-2010
Computer Removing IP address from eth1 on SUSE

Hello folks;
I have a NIC card on my SUSE 10.3 server with eth0 & eth1 configured with two IP addresses (172.16.5.3 & 172.16.5.4)

I'd like to remove the IP assigned to eth1 (172.16.5.4). i think i know i can go into ifcfg-eth1 and edit it but before i do that, i want to know if there's a better way to do it using command line (i don't have GUI on that server) and if there's more steps involved with removing the IP address from either eth0 or eth1?

Thanks in advance for help
# 2  
Old 06-22-2010
As root
Code:
ip addr del eth1 172.16.5.4
# OR
ip addr flush eth1

# 3  
Old 06-24-2010
Thanks. I had to change it a little bit but it worked. I appreciate it
 
Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. IP Networking

assign mac address for virtual interface eth1:0

Hi , by default the physical interface (eth1) and virtual interface eth1:0 will be having same mac address, is there any way we can assign separate mac addresses for both the interfaces. would some one help me out in this. Thanks Gopi (1 Reply)
Discussion started by: Gopi Krishna P
1 Replies
Login or Register to Ask a Question