Sponsored Content
Full Discussion: Please Help!!!!!!!
Operating Systems Solaris Please Help!!!!!!! Post 302175870 by System Shock on Sunday 16th of March 2008 12:29:54 PM
Old 03-16-2008
You are all over the place here.

Let's start with the basics.
First, delete resolv.conf. You don't need it right now and I doubt you have 2 DNS servers running in your home network.

Ok. So the IP address you set on the Sol8 box is 192.168.0.10, and the default route is 192.168.0.1, all masked for /24 (255.255.255.0)
The output from netstat -rn you posted shows your default route to be 182,169.0.1, whe it should be 192.168.0.1 .

The following commands are going to delete the wrong route, add the correct route, and edit the defaultrouter file, which needs to be there correctly or you'll lose your default route after a reboot.

Code:
# route delete default 192.169.0.1
# route add default 192.168.0.1 1
# echo 192.168.0.1 > /etc/defaultrouter

Verify that the default route took:
Code:
# netstat -rn

... and try pinging it:
Code:
# ping 192.168.0.1

Can you now ping your default route?
 
Route classifier in tc(8)					       Linux						 Route classifier in tc(8)

NAME
route - route traffic control filter SYNOPSIS
tc filter ... route [ from REALM | fromif TAG ] [ to REALM ] [ classid CLASSID ] [ action ACTION_SPEC ] DESCRIPTION
Match packets based on routing table entries. This filter centers around the possibility to assign a realm to routing table entries. For any packet to be classified by this filter, a routing table lookup is performed and the returned realm is used to decide on whether the packet is a match or not. OPTIONS
action ACTION_SPEC Apply an action from the generic actions framework on matching packets. classid CLASSID Push matching packets into the class identified by CLASSID. from REALM fromif TAG Perform source route lookups. TAG is the name of an interface which must be present on the system at the time of tc invocation. to REALM Match if normal (i.e., destination) routing returns the given REALM. EXAMPLES
Consider the subnet 192.168.2.0/24 being attached to eth0: ip route add 192.168.2.0/24 dev eth0 realm 2 The following route filter will then match packets from that subnet: tc filter add ... route from 2 classid 1:2 and pass packets on to class 1:2. NOTES
Due to implementation details, realm values must be in a range from 0 to 255, inclusive. Alternatively, a verbose name defined in /etc/iproute2/rt_realms may be given instead. SEE ALSO
tc(8), ip-route(8) iproute2 21 Oct 2015 Route classifier in tc(8)
All times are GMT -4. The time now is 02:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy