Re: dual routing wifi / lan
- From: ibuprofin@xxxxxxxxxxxxxxxxxxxxxx (Moe Trin)
- Date: Sun, 04 Mar 2007 12:55:18 -0600
On 4 Mar 2007, in the Usenet newsgroup comp.os.linux.networking, in article
<1173011424.752980.314150@xxxxxxxxxxxxxxxxxxxxxxxxxxx>, Matthias wrote:
i got the following problem. I've got a workstation with two ethernet
cards: eth0 LAN card, eth1 wifi card. I use the wireless card to
connect to the internet via a wifi-router and the LAN card to connect
to a server (single computer), which disks are mounted via nfs.
And the routing table looks like...
I would like all connections and traffic be routed through the
wireless device, EXCEPT for requests to the server ip, which should be
routed through the LAN device.
Then put the Ethernet on a separate network (or at least use a 'host'
route) instead of having everyone on the same address range.
How can I configure this?
/sbin/ifconfig eth0 192.168.1.1 netmask 255.255.255.0
/sbin/ifconfig eth1 192.168.100.1 netmask 255.255.255.0
/sbin/route add default gw 192.168.100.254
or similar.
Old guy
.
- References:
- dual routing wifi / lan
- From: Matthias
- dual routing wifi / lan
- Prev by Date: Re: "transmit timed out" from kernel 2.6.19 on?
- Next by Date: Re: scan for machines in the subnet
- Previous by thread: dual routing wifi / lan
- Next by thread: Re: dual routing wifi / lan
- Index(es):
Relevant Pages
|