Link to home
Start Free TrialLog in
Avatar of meik goode
meik goode

asked on

route email traffice btw two nic cards

I have a computer with two nic's installed.
N1 192.168.0.x 255.255.255.0 ; N2 172.18.135.x 255.255.255.0
I would like to route all outlook email traffic from N1 to N2
I have tried a lot of combination of the following "route" command
all with an invalid parameter error message. I'm using the CMD with
elevated admin.  any help would be appreciated.

ROUTE ADD 192.168.0.11 MASK 255.255.255.0 172.18.135.48 yields invalid param error
ROUTE ADD 192.168.0.11 255.255.255.0 172.18.135.48 yields invalid param error
ROUTE ADD 192.168.0.11 MASK 255.255.255.0 GATEWAY 127.0.0.1 172.18.135.48 yields invalid param error
ROUTE ADD 192.168.0.11 MASK 255.255.255.0 127.0.0.1 172.18.135.48 yields invalid param error
Avatar of kevinhsieh
kevinhsieh
Flag of United States of America image

Your mask is wrong. I assume you want to change the route for just 192.168.0.11/32
ROUTE ADD 192.168.0.11 MASK 255.255.255.255 172.18.135.48

Open in new window

route ADD destination_network MASK subnet_mask  gateway_ip [metric_cost] [-p] [if if_no]

Open in new window



Note: I don't see how adding a route will solve your problem.
If the IP on N1 is 192.168.0.2/24, any traffic with the destination 192.168.0.x will be resolved by ARP, not routes.

HTH,
Dan
Avatar of meik goode
meik goode

ASKER

I'm wanting to Route traffic from the 192 NIC card to the 172 NIC card which is a different network segment
ASKER CERTIFIED SOLUTION
Avatar of noci
noci

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial