can't ping the gateway

February 28, 2013 at 06:48:55
Specs: Solaris X86
installed solaris x86 on sony (model PCG-6Q1L) laptop
#uname -a
SunOS hostname 5.10 Generic_118855-33 i86pc i386 i86pc

my home network info:
default gateway: 192.168.1.1
Subnaet Mask: 255.255.255.0

#ifconfig -a
Lo0: flags=2001000489<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL>mtu 8323 index1
inet 127.0.0.1 netamsk ff000000

Please note: there is NO MAC address show here, anything wrong?

Here is the /etc/inet/hosts file
127.0.0.1 localhost
192.168.1.2 hostname loghost

#ifconfig lo0 plumb
#ifconfig -a
#ifconfig -a
Lo0: flags=2001000489<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL>mtu 8323 index1
inet 127.0.0.1 netamsk ff000000

Again, no MAC address here

#ifconfig lo0 192.168.1.2 netmask 255.255.255.0 up

#ifconfig -a
#ifconfig -a
Lo0: flags=2001000489<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL>mtu 8323 index1
inet 192.168.1.2 netamsk ffffff00

No MAC address show here

At this point, I suppose I can ping the gatwsay, but it doesn't work

#ping 192.168.1.1
ICMP Host Unreachable from gateway localhost(127.0.0.1)
for icmp from localhost (127.y0.0.1) to 192.168.1.1


Did I do anything wrong?
Please help



See More: cant ping the gateway

Report •

#1
February 28, 2013 at 07:38:17
Yes. Localhost (127.0.0.1) is not a real network interface. It uses what is called the loop-back adapter and is for communicating with the same machine only. (Sounds crazy, but there are reasons for that.) Also, not being a real interface, it has no MAC.

ifconfig is showing no real adapter, just lo0, which means your networking is not working, other than locally. Solaris, by default, clearly doesn't have a driver for your network card. Not surprising as Solaris wasn't really developed with laptops in mind.

You may be able to find one, you may not. You're going to have to Google.


Report •

#2
March 7, 2013 at 07:07:58
Jack, thanks for your help, I will check the driver and install it

Report •
Related Solutions


Ask Question