Routing thru a new network card

Tom H tomh0665 at gmail.com
Wed Aug 1 22:52:41 UTC 2012


On Wed, Aug 1, 2012 at 6:47 PM, Valter Nogueira <valter at fastway.com.br> wrote:
>
> I have a Ubuntu server (console only) and its eth0 points to the lan which
> has shared access to the internet.
>
> Now, I placed a new network card - eth1 which is connected in a cable modem.
>
> To turn up eth1 (for testing), I used:
>
> ifconfig eth1 192.168.100.3 netmask 255.255.255.0
>
> now I want to route every internet traffic to eth1, or at least trafic to
> 177.67.81.98
>
> so I did:
>
> route add 177.67.81.98 dev eth1
>
> and then
>
> route
>
> to confirm.
>
> But looking to iptranf - nothing goes thru eth1

You need an "up" in your ifconfig command.




More information about the ubuntu-users mailing list