- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Loop back 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
09-01-2004 03:19 AM
09-01-2004 03:19 AM
Loop back interface
I give ip address for the loopback interface using the following command :
ifconfig lo0:1 192.168.1.1 netmask 255.255.255.0
I tested my configuration with the ping command from my PC and it was succesful.
Put when I tried to telnet to that ip address from my PC, it didn't work.
Can any one help me??
Thanks for all.....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 03:28 AM
09-01-2004 03:28 AM
Re: Loop back interface
But don't change the loopback address.
There is no good reason for it.
It messes up networking.
Leave it alone.
Change it back to the default in /etc/rc.config.d/netconf
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 03:30 AM
09-01-2004 03:30 AM
Re: Loop back interface
Assuming you're not familiar with HPUX, your easiest recourse will be to run "sam", and configure lan0 (which will be the default internal LAN card - you may need lan1/lan2 etc if you have separate LAN cards).
lanscan will show you what cards you have installed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 03:49 AM
09-01-2004 03:49 AM
Re: Loop back interface
If you're referring to the "localhost" entry in /etc/hosts that has loopback as an alias - DO NOT CHANGE THAT FROM 127.0.0.1
It should remain
127.0.0.1 localhost loopback
You'll break a lot of stuff if you do. It's used to keep actual *local* traffic inside the box & off the subnet.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 05:12 PM
09-01-2004 05:12 PM
Re: Loop back interface
What I'm looking to do is to use 'System IP' facility.
I have two network cards, and by giving my loopback lo0:1 an ip address, it will be available as long as one interface remains usable (NOT lo0:0 it still have 127.0.0.1), and it is supported by HPUX as in the docs.
See the man page of ifconfig....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2004 03:13 AM
09-02-2004 03:13 AM
Re: Loop back interface
when you say the ping worked, but telnet did not, can you be a bit more specific about the failure messages when you tried to telnet.
for "HA" on links, the "better" solution is to use Auto Port Aggregataion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2004 06:03 PM
09-04-2004 06:03 PM
Re: Loop back interface
I already gived an IP address for the physical ethernet cards :
lan0 192.168.0.115 255.255.255.0
lan1 192.168.1.1 255.255.255.0
lo0:1 192.168.2.1 255.255.255.0
and I execute the following command on my PC:
route add 192.168.2.1 192.168.0.115
The ping command to the VIP done successfully, and when i tried to telnet in using the VIP from my PC the following error message appear:
Could not open a connection to host on port 23 : Connect failed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2004 06:51 PM
09-04-2004 06:51 PM
Re: Loop back interface
Your configuration should work. Since your ping is working, then I assume your ip_forwarding is enabled.
Are you able to telnet to the workstaion from your PC using the regular interface?.
Enabled connection logging with inetd (inetd -l) and observe syslog.log while you try to connect to it.
Last but not the least, check if there is firewall between your PC and the system that is not blocking access to port 23 for the VIP.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2004 11:59 PM
09-04-2004 11:59 PM
Re: Loop back interface
I am very sorry about my little supplied details.
First there is no firewall between my PC and the server.
And I can telnet to my server using its standard interface IP.
I tried another solution like the following
lo0:1 192.168.0.112 255.255.255.0
And on my PC could not either connect to this IP even it is in the same network, so I did the following:
arp -s 192.168.0.112 xx.yy.zz (the MAC address of lan0)
And it works correct.
But I cannot do this since I have to issue this command on every workstation on the LAN, and I want my VIP to be on different subnet, so both subnets (192.168.1.0 and 192.168.0.0) can connect using my VIP.
Thanks for your response...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2004 03:59 AM
09-05-2004 03:59 AM
Re: Loop back interface
As for needing to add the MAC address of the PC manually, indeed, that should not be required. If you could further describe the topology of your network and any ndd settings you may have changed that might help. Also full netstat -rn output.