- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ifconfig command hangs
Operating System - HP-UX
1823415
Members
2525
Online
109655
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО05-28-2003 07:26 AM
тАО05-28-2003 07:26 AM
Remote users are unable to telnet to the server though local users have no problem. This is an N replacing a k200. I noticed that ifconfig lan0 showed the broadcast address as 10.255.255.255 on the new machine and 10.2.255.255 on the old. The netmask was also different (ffff0000 on the old and ff000000 on the new). Thinking this could be causing the telnet problem, I tried using ifconfig to change the broadcast - ie ifconfig lan0 broadcast 10.2.255.255 - the result is that the session was hung and I could no longer telnet to the machine (though I could still connect at the console). What did I do wrong?
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2003 07:01 AM
тАО05-28-2003 07:01 AM
Re: ifconfig command hangs
You should have just reconfigured the interface with the correct netmask - houx would then have figured out the broadcast address itself, i.e.
ifconfig lan0 10.2.x.x netmask 255.255.0.0 up
obviously replacing 10.2.x.x with the actual IP address of the machine.
HTH
Duncan
I am an HPE Employee
ifconfig lan0 10.2.x.x netmask 255.255.0.0 up
obviously replacing 10.2.x.x with the actual IP address of the machine.
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2003 07:32 AM
тАО05-28-2003 07:32 AM
Solution
Hi,
i think the command should be
(from console):
ifconfig lan0 down
ifconfig lan0 YOURIP netmask 255.255.0.0
ifconfig lan0 up
Also cehck your routes !
And rememebr to change it in
/etc/rc.config.d/netconf
The command is not hanging, probably you have been disconnected from the host.
That was the problem: clients cannot find the way back to their originating host.
HTH,
Massimo
i think the command should be
(from console):
ifconfig lan0 down
ifconfig lan0 YOURIP netmask 255.255.0.0
ifconfig lan0 up
Also cehck your routes !
And rememebr to change it in
/etc/rc.config.d/netconf
The command is not hanging, probably you have been disconnected from the host.
That was the problem: clients cannot find the way back to their originating host.
HTH,
Massimo
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP