- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- disable interface
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2002 08:36 AM
06-20-2002 08:36 AM
disable interface
There is one phy. interface with two IP-Addresses assigned but sometimes I need to disable one of these locigal interface on my HP-UX 11.00 box. I did an "ifconfig lan0:1 down" and than an "ifconfig lan0:1" for verification purpose. The result looks fine:
ifconfig lan0:1
lan0:1: flags=842
but the ping on that interface still works.
ping x.x.x.x
PING x.x.x.x: 64 byte packets
64 bytes from x.x.x.x: icmp_seq=0. time=0. ms
traceroute x.x.x.x
traceroute to x.x.x.x (x.x.x.x), 30 hops max, 20 byte packets
1 x.x.x.x (x.x.x.x) 0 ms 0 ms 0 ms
Traceroute shows me also that the interface on the local system is used.
How can disable the Interface?? And how can i prevent the internal use ( internal means, from the box itself)
Thanks in advance
Reinhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2002 08:57 AM
06-20-2002 08:57 AM
Re: disable interface
Just issue
ifconfig lan0:1 0
That will remove the additional ip address configure (check with netstat -ain). You don't need to issue ifconfig lan0:1 down to remove it.
-HTH
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2002 09:00 AM
06-20-2002 09:00 AM
Re: disable interface
To disable interface
ifconfig lan0:1 0
or if you still are not staisfied , discoonect the lan cable to the interface physically.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2002 09:04 AM
06-20-2002 09:04 AM
Re: disable interface
#ifconfig lan0:1 0
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 12:33 AM
06-21-2002 12:33 AM
Re: disable interface
Ok all your solutions are working fine. Thanks
But there is one question left.
How to enable the interface with the old configuration. ??
Thanks in advance
Reinhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 02:22 AM
06-21-2002 02:22 AM
Re: disable interface
Name Mtu Network Address Ipkts Opkts
lan1 1500 10.0.8.0 Entwickl 871594 821648
lan0* 1500 none none 0 0
lo0 4136 127.0.0.0 localhost 30318 30318
For what is the * after lan 0 ?