Re: Help - I've screwed up the my internet access - can't ping router.



In article <49c521c4@xxxxxxxxxxxxx>, Dave <foo@xxxxxxx> wrote:

I've got a Blade 2000 which has been running Solaris 10 update 6 for
some time. It's a home computer, on a ADSL line using Onetel as an ISP.
All has worked well. It was PREVIOSULY configured as:

1) Static IP of 192.168.2.15
2) Default route of 192.168.2.1
3) DNS servers listed in /etc/resolv.conf
4) Contents of /etc/nswwitch.dns copied to /etc/nsswitch.conf


A few days back my modem/router failed, so I bought another, which made
it sensible to change the IP address of the Sun, from a 192.168.2.x to a
192.168.1.x.

Rather than use sys-unconfig, I decided to edit the files manually that
are listed in the sys-unconfig man page. Then I used

# svcs disable network
# svcs enable network

The networking was not working properly, so I rebooted, thinking that
would cure it.

When I rebooted, the networking was still not working correctly, so I
decided to use sys-unconfig. However, even after running 'sys-unconfig'
and the system reboot, there is no internet access.


I don't really have a clue how to sort it out. If anyone has any
suggestions, please do. If all else fails I'll reinstall Solaris, but
that should not be necessary.


I've got two very similar machines (ones a Blade 2000, the other an
Ultra 60). Both run Solaris 10 update 6, both are connected into the
same switch, which should get the internet from the same router. So
anything that works one one Sun should work on the others. But somehow I
have managed to mess things up, so they are not working on one of them -
but work fine on the other.

Basically set this up as


# head /etc/inet/hosts
#
# Internet host table
#
::1 localhost
127.0.0.1 localhost
192.168.1.9 kestrel loghost kestrel.drkirkby.co.uk


# cat /etc/defaultroute
192.168.1.1

# cat /etc/resolv.conf
nameserver 212.67.120.148
nameserver 212.67.96.129

/etc/nsswitch.conf is just a copy of /etc/nsswitch.dns - hence checksums
of files are the same.

# cksum /etc/nsswitch.conf /etc/nsswitch.dns
3949146177 1259 /etc/nsswitch.conf
3949146177 1259 /etc/nsswitch.dns

If I try to ping the router, it can't be seen.

bash-3.00$ ping 192.168.1.1
no answer from 192.168.1.1


If I attempt to connect via ssh to another machine on the *local*
network, so it works.

bash-3.00$ ssh don@xxxxxxxxxxxx
Password:
Last login: Fri Mar 20 17:33:46 2009 from 192.168.2.9

I believe the router is answering pings ok, as I can ping it when on the
other Sun

# ping 192.168.1.1
192.168.1.1 is alive


So in summary

1) Two very similar machines, both on the same switch and connected to
the same router
2) One can ping the router, the other can't
3) Both can connect to each other by IP address

Any thoughts?

As a sanity check on your config, try:

# egrep <hostname> /etc/inet/hosts /etc/hostname* /etc/nodename
# cat /etc/defaultrouter
# netstat -nr
# ifconfig -a

It helps to have all that info in a single view so that simple mistakes
will be obvious. In particular, verify the netmasks on your interfaces
and the expected entries in the routing table.

If all that checks out, make a note of the MAC addresses on your
interfaces on both Sun machines via ifconfig. Use "arp -a" on each
machine to verify that the IP addresses you ping are indeed
corresponding to the right MACs and not something else in conflict. Use
the same arp command to ensure the router is on the expected IP. This
decoder site http://www.techzoom.net/lookup/check-mac.en may be helpful.

If again all that checks out, and cables and ports on the switch have
been swapped to no avail, you may have MAC address locking on your
router. Some ISPs do that to restrict their lowest-tier "home" users to
a single client connection, and a power cycle of the modem is required
before it will accept a fresh MAC address. However this seems unlikely
if you bought the device from a third party.
.



Relevant Pages

  • RE: wirless connection security issues
    ... wrt54gl only has a single port for the incoming network. ... I would set up the router to use the Class C private IP range ... for your machines. ... Subject: wirless connection security issues ...
    (Security-Basics)
  • Re: Networking problem
    ... machine 2# HP Z8000 laptop xp media center on board lan and 802.11 windows firewall off. ... router linksys befw11s4 ... Network activity lights flash on the router on the port in use. ... I finally got it to the point that from the desktop i can ping the ip ...
    (microsoft.public.windowsxp.general)
  • Re: Cannot get IP address from Router DHCP
    ... > - I can ping both the preferred and alternate DNS servers from the ... > Ethernet adapter Wireless Network Connection: ... > the router by typing its address on a browser but I cannot get to the ... >> What DNS server did you assign? ...
    (microsoft.public.win2000.networking)
  • Re: Help - Ive screwed up the my internet access - cant ping router.
    ... # svcs disable network ... If I try to ping the router, ... Two very similar machines, both on the same switch and connected to ...
    (comp.unix.solaris)
  • Re: I cant understand Windows Explorer
    ... 'Network Places' either. ... machines that are turned off. ... duration from the router. ... we have four computers in one room and six in the other. ...
    (microsoft.public.windowsxp.general)