On Wed, 5 Jan 2000, Siddhartha Jain wrote:
> 2. How do i use a Linux box to connect two subnets? I think the answer
> to this would be fairly long, so i expect just a pointer or a URL.
Shouldn't be too difficult - just putting one network card on the first
subnet and the other on the second subnet should do, along with
appropriate routes for each subnet (off the top of my head, and probably
with incorrect syntax):
ifconfig 192.168.1.1 eth0
ifconfig 192.168.2.1 eth1
route add -net 192.168.1.0/24 eth0
route add -net 192.168.2.0/24 eth1
-- Kendall Lister, Systems Operator for Charon I.S. - kendall@charon.net.au Charon Information Services - Friendly, Cheap Melbourne ISP: 9589 7781- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.rutgers.edu
This archive was generated by hypermail 2b29 : Fri Jan 07 2000 - 21:00:12 EST