Hey Guys:
I am trying to add a route for assign a network interface to the traffic to/from a specific net, but allways to get the same system message : network is unreacheable
root@ColectorDMSCNT # route add net 200.44.46.0/24 161.196.84.196 1
add net 200.44.46.0/24: gateway 161.196.84.196: Network is unreachable
root@ColectorDMSCNT # ping 161.196.84.196
161.196.84.196 is alive
root@ColectorDMSCNT # traceroute 161.196.84.196
traceroute: Warning: Multiple interfaces found; using 161.196.84.196 @ e1000g1
traceroute to 161.196.84.196 (161.196.84.196), 30 hops max, 40 byte packets
1 Monitoreo (161.196.84.196) 0.286 ms 0.109 ms 0.106 ms
root@ColectorDMSCNT # ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.119.64.6 netmask ffffff00 broadcast 10.119.64.255
ether 0:14:4f:e4:3:18
e1000g1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 161.196.84.196 netmask ffffffc0 broadcast 161.196.84.255
ether 0:14:4f:e4:3:19
My question is:
What is the problem on the command?
Thank in Advance
AG :o