obirenokenobi
July 27th, 2009, 07:43 PM
Hi! I'm in an enterprise network with very restricted Internet access, so I bought a CDU card from my cell provider in order to have unrestricted Internet access.
My problem with this, is that I'm not able to surf the Web and surf the local network. I have to shut down the modem in order to have full access to my local network, of course, by doing this, I'm barred from the Internet.
So what I want is to "route" all IPs of 192.x.x.x and all of 10.x.x.x through my wired card (eth0) and anything else, through the modem (ppp0)
I've tried to do it with route command, but everything is always routed through eth0 unless I remove the gateway information. But... if I remove the gw for the eth0, many ips in my local network can't be accessed. So I need to have a full configured eth0.
What can I do? Which commands can I use?
Thanks!
My problem with this, is that I'm not able to surf the Web and surf the local network. I have to shut down the modem in order to have full access to my local network, of course, by doing this, I'm barred from the Internet.
So what I want is to "route" all IPs of 192.x.x.x and all of 10.x.x.x through my wired card (eth0) and anything else, through the modem (ppp0)
I've tried to do it with route command, but everything is always routed through eth0 unless I remove the gateway information. But... if I remove the gw for the eth0, many ips in my local network can't be accessed. So I need to have a full configured eth0.
What can I do? Which commands can I use?
Thanks!