Help wanted - configure 2 NICs

Just wanting some advice.

Solaris 10

I have hme0 connected to local 192.168.0.x internet. The local internet has a windows server, which is connected to the internet via another NIC. The DNS is the windows server box, at 192.168.1.180.

On the Solaris box, qfe1 is connected to another router, at address 192.168.0.191, NAT to internet.

Now, I want to route all traffic thru qfe1, except for 192.168.1.x traffic which should go thru hme0.

I tried listing the 192.168.0.191 in the defaultroute, but this still didn't help. All traffic seems to be routed thru 192.168.1.180, which is the dns server connnected to hme0.

How do I do this?

[681 byte] By [johnno_t] at [2007-11-26 10:14:39]
# 1

Advice: choose either STATIC or DYNAMIC routing depending on your situation.

If you are using a /etc/defaultrouter file - its is assumed by the system that you are using static routing. Man pages on in.rdisc or in.routed should get you there. Google has loads of info if you do not have access to Sunsolve. If you do have access to Sunsolve - get document ID #17947

regards

Donald

root@rcirogerscom at 2007-7-7 2:05:49 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2
Hi!Did you specify netmask for both interfaces correctly?You can do this using this configuration in /etc/hostname.hme0 and /etc/hostname.qfe1 files. Just add "netmask 255.255.255.0" to these files.Wrong netmask setting can cause your problem.Brano.
krusokruso at 2007-7-7 2:05:49 > top of Java-index,Solaris Operating System,Solaris 10 Features...