Results 1 to 3 of 3
Dear Fourm Members,
I want to use linux as a router.
I am using internet on win xp and i want to shere internet through linux.
I saw a network. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-30-2006 #1Just Joined!
- Join Date
- May 2006
- Location
- Pakistan
- Posts
- 9
Linux Router
Dear Fourm Members,
I want to use linux as a router.
I am using internet on win xp and i want to shere internet through linux.
I saw a network. and i do the like this.
In linux two Nics one eth0 is configured ip 192.168.0.2 and eth1 is 111.22.111.1
and in win xp only one nic configured ip 192.168.0.1
win xp and linux linked to cross cable
and other nic connect to switch
how can i configured like this
Thanks and Reguard
reply me...........
- 07-30-2006 #2Linux Newbie
- Join Date
- Dec 2004
- Location
- Portland, OR
- Posts
- 123
i think those are strange choices for ips. you probably want to do something like this.
(internet)---->[eth0](192.168.1.1)[eth1]<---->(switch)<===>(192.168.1.10*)
setup DHCP on 192.168.1.1 eth1 outbound to the switch. then just forward all traffic between eth0 to eth1. if you want to get fancy, block port ranges and add other rules to make it more of a firewall than just a router. there should be plenty of information online routing traffic between eth cards. 192.168.1.10* are generic workstations, 192.168.1.100 for example.
- 08-03-2006 #3Just Joined!
- Join Date
- May 2006
- Location
- Pakistan
- Posts
- 9
Dear jwilliams,
you right I like to do this.
(internet)---->[eth0](192.168.1.1)[eth1]<---->(switch)<===>(192.168.1.10*)
but i have no concept of firwall. Please tell me about firewall.
thanks


Reply With Quote
