| 1. |
Solve : Multiple Gateways? |
|
Answer» Hi I've 2 network connections in my local machine and I would like to use both of them concurrently. How can I archieve the following: what you need is to create a static route for the 192.168.8.0 network. Hi wonkey_donkey, some clarifications here. 1. Why is it 192.168.8.0 only? Does that cater for all destinations with IP address 192.168.X.X, for eg. 192.168.1.0? 2. Why is the subnet mask 255.0.0.0? Shouldn't it be 255.255.255.0 for network class C? 3. I changed the route command that you've provided to this: route add 192.168.0.0 mask 255.255.255.0 192.168.8.254 metric 3 But it's does not work, I cannot ping a machine with the IP address 192.168.1.8. Reply from 192.168.254.1: Destination host unreachable. Reply from 192.168.254.1: Destination host unreachable. Reply from 192.168.254.1: Destination host unreachable. Reply from 192.168.254.1: Destination host unreachable. Ping statistics for 192.168.1.8: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), APPROXIMATE round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms This is my route print Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 192.168.8.254 192.168.8.128 1 0.0.0.0 0.0.0.0 192.168.254.1 192.168.254.52 1 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1 192.168.0.0 255.255.255.0 192.168.8.254 192.168.8.128 3 192.168.1.8 255.255.255.255 192.168.254.45 192.168.254.52 1 192.168.1.21 255.255.255.255 192.168.254.45 192.168.254.52 1 192.168.1.53 255.255.255.255 192.168.254.45 192.168.254.52 1 192.168.8.0 255.255.255.0 192.168.8.128 192.168.8.128 10 192.168.8.128 255.255.255.255 127.0.0.1 127.0.0.1 10 192.168.8.255 255.255.255.255 192.168.8.128 192.168.8.128 10 192.168.254.0 255.255.255.0 192.168.254.52 192.168.254.52 25 192.168.254.52 255.255.255.255 127.0.0.1 127.0.0.1 25 192.168.254.255 255.255.255.255 192.168.254.52 192.168.254.52 25 224.0.0.0 240.0.0.0 192.168.8.128 192.168.8.128 10 224.0.0.0 240.0.0.0 192.168.254.52 192.168.254.52 25 255.255.255.255 255.255.255.255 192.168.8.128 192.168.8.128 1 255.255.255.255 255.255.255.255 192.168.8.128 10005 1 255.255.255.255 255.255.255.255 192.168.254.52 192.168.254.52 1 Default Gateway: 192.168.254.1 Please advise, thanks!Sorry i have just reread your original post again So you have two network cards in your PC? If this is the case then you can assign different default gateways and different IP SETTINGS to each card without any problem. But if you want to communicate between them, then you'll need SOMETHING to route the traffic between the two networks. Can you explain what you're trying to do and what's connected to each of the cards? if the end goal here is to get better speed then it's a vain pursuit.Quote from: wonkey_donkey on May 20, 2009, 05:04:56 AM Sorry i have just reread your original post again I would like all my Internet access to use interface with IP address 192.168.254.52 and my internal network access to use interface with IP address 192.168.8.128Quote from: BC_Programmer on May 20, 2009, 05:10:27 AM if the end goal here is to get better speed then it's a vain pursuit. No. The reason is due to there are stricter firewall access rights in one gateway compared to the other. |
|