On 03/04/2007 06:00 PM, Matthias wrote:
> Hi,
>
> 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.
>
> 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.
>
> How can I configure this?
# route -n
# route del default gw
# route add default gw <(ipaddress|fqdn).of.your.wifirouter>
# route -n
--
Dr Balwinder S "bsd" Dheeman Registered Linux User: #229709
Anu'z Linux@HOME Machines: #168573, 170593, 259192
Chandigarh, UT, 160062, India Gentoo, Fedora, Knoppix/FreeBSD/XP
Home:
http://cto.homelinux.net/~bsd/ Visit:
http://counter.li.org/