Linux Network Gurus?

I don't want to dork this up, so I'm asking for your help. We've been using IPs from one class C for a project machine and need to use some from another class C. The second class C has a different gateway of course - how can I add this? Can't have 2 default gateways. I figured
/sbin/route add net 204.246.142.0 netmask 255.255.255.0 gw 204.246.142.1 eth0

but it says:
Network is Unreachable

Here's our routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
204.246.134.0 * 255.255.255.0 U 0 0 0 eth0
204.246.134.0 * 255.255.255.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 204.246.134.1 0.0.0.0 UG 0 0 0 eth1
default 204.246.134.1 0.0.0.0 UG 0 0 0 eth0

What am I dorking up? Do need to add the /sbin/route add etc to startup files?

 

 

 

 

Top