- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Interface is not configured
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
Discussions
Discussions
Forums
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
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
тАО02-13-2002 06:00 AM
тАО02-13-2002 06:00 AM
Interface is not configured
I've got the following problem.
I have setup my D200 server (HP-ux 11.0) as a DHCP client. When I did this my server has setup automatically an IP address, gateway,etc... by DHCP. This works fine, but when I want to ping another server I get no response. When I want to ifconfig lan0 I get the message "ifconfig: no such interface".
When I want to configure it by SAM I get the same error messages.
From the DHCP server I get my info, thus my network card is not defect.
lanscan says that my network card is up. with an ioscan I get:
lan 0 16/6 lan2 claimed interface built-in-lan /dev/diag/lan0 /dev/ether0. When I ping 127.0.0.1 I get response.
How can I configure my lan?
Thanks in advance,
Erwin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2002 06:03 AM
тАО02-13-2002 06:03 AM
Re: Interface is not configured
What is your default gateway? command 'netstat -r', note the entry with 'default' present in it.
Cheers, ian Dennison
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2002 06:03 AM
тАО02-13-2002 06:03 AM
Re: Interface is not configured
what does lanscan show?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2002 06:04 AM
тАО02-13-2002 06:04 AM
Re: Interface is not configured
another thing, is your dhcp host providing the default gateway?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2002 07:10 PM
тАО02-13-2002 07:10 PM
Re: Interface is not configured
1) vi /etc/rc.config.d/netconf
enter your hostname, IP, netmask, gateway.
2) route -f
3) /sbin/init.d/net start
4) ifconfig lan?
5) netstat -rn
4&5 make sure you have the lan and route table configured.
Have fun!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2002 07:22 PM
тАО02-13-2002 07:22 PM
Re: Interface is not configured
Just to add on, the reason why you were able to ping 127.0.0.1 is because 127.0.0.1 uses the loopback interface (lo0) and not lan0.
You can verify this with
# netstat -rn
# ifconfig lo0
With regards to your problem, you should provide us with the output of lanscan.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2002 04:08 AM
тАО02-14-2002 04:08 AM
Re: Interface is not configured
Ian,
The ioscan output is right. The default gateway is 193.67.42.2 but this is only set in /etc/rc.config.d/netconf. With netstat -rn I don't see my default gateway.
Harry,
A lanscan gives the following output:
16/6 0x080009D289F4 0 up lan0 snap0 1 ether yes 119.
From my DHCP server I get my:
IP addresss
Subnet mask
gateway address
The DHCP server makes the files /etc/dhcpclient.data and /etc/hosts.
Bye,
Erwin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2002 04:12 AM
тАО02-14-2002 04:12 AM
Re: Interface is not configured
Ian,
The ioscan output is right. The default gateway is 193.67.42.2 but this is only set in /etc/rc.config.d/netconf. With netstat -rn I don't see my default gateway.
Harry,
A lanscan gives the following output:
16/6 0x080009D289F4 0 up lan0 snap0 1 ether yes 119.
From my DHCP server I get my:
IP addresss
Subnet mask
gateway address
The DHCP server makes the files /etc/dhcpclient.data and /etc/hosts.
Wilfred,
When I do /sbin/init.d/net start I get the following error:
"ERROR: lan0 interface: ifconfig: ioctl (SIOCSIFNETMASK): bad value
ERROR: Failed to add route entry because its interface is not yet initialized. May need to add this route entry with a route command after the interface is up: add net default: gateway 193.67.42.2: Network is unreachable
Bye,
Erwin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2002 04:36 AM
тАО02-14-2002 04:36 AM
Re: Interface is not configured
I have found the answer on the HP site:
"This maybe a problem with the subnet mask being all 1's or 0's, which according to RFC1878/1122, is not allowed. There is an ndd tunable that you can apply to disable this subnet checking:
#ndd -set /dev/ip ip_check_subnet_addr 0
This must be added to /etc/rc.config.d/nddconf in order to survive a reboot.
Thanks,
Erwin