[ubuntu-za] Cellphone modem + LAN

Mark Stockton mark at linuxworx.co.za
Tue Sep 29 14:08:51 BST 2009


I would suggest some routing by network subnet. My /etc/network/interfaces
file as entries to route local traffic via the LAN. For example: 

up route add -net 150.0.0.0/8 gw 164.101.1.50 dev eth0 

Where the 150.0.0.0 subnet contains SAP servers on our WAN backbone and
164.101.1.50 is the network router. 

---------- Original Message -----------
From: Charl Wentzel <charl.wentzel at vodamail.co.za>
To: Ubuntu SA Local Community <ubuntu-za at lists.ubuntu.com>
Sent: Tue, 29 Sep 2009 13:17:07 +0200
Subject: [ubuntu-za] Cellphone modem + LAN

> Hi Guys
> 
> Thanks for helping with apt-cacher.  Now for an even more difficult
> question:
> 
> My laptop is connected to the LAN (via cable) and I'm using my cellphone
> to connect to the internet for now.  The plan is that apt-cacher can 
> use my cellphone to get some special updates, while the new pc's on the
> network can connect to my laptop through the LAN.
> 
> I can connect to the Internet using my cellphone (via usb/rndis) as long
> as I'm unplugged from my Lan.  As soon as I plug in the LAN cable, 
> all internet traffic appears to be routed through the LAN instead 
> and fails, even though the cellphone is still connected to the Internet.
> 
> Is there a way to overcome this?
> 
> Charl
> 
> -- 
> ubuntu-za mailing list
> ubuntu-za at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-za
------- End of Original Message -------




More information about the ubuntu-za mailing list