LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 07-14-2003, 01:23 PM   #1
indy317
LQ Newbie
 
Registered: Apr 2003
Posts: 29

Rep: Reputation: 15
routers help please?


i have 2 routers, i wanna setup like this

cable modem-->router1--->router2--->workstationss

router1:
WAN: dhcp
LAN: ip 192.168.1.100
s/m 255.255.255.0
d/g 192.168.1.1

router2 ???
anyone help me howto please

thankz you
 
Old 07-14-2003, 01:26 PM   #2
hakcenter
Member
 
Registered: Apr 2003
Location: Not to far from the computer screen
Distribution: RedHat 9.0
Posts: 324

Rep: Reputation: 30
isnt it like

<work stations>
<router>
internet
<router>
<work stations>

?

if so, you could use swan-vpn...

but currently im having problems with keeping packet forwarding enabled with the vpn server even being started.. even though i configured it to enable packet forwarding /shrug
 
Old 07-14-2003, 01:32 PM   #3
indy317
LQ Newbie
 
Registered: Apr 2003
Posts: 29

Original Poster
Rep: Reputation: 15
nope, i don't know how to setup for router2 to let my workstation to use the Internet
 
Old 07-14-2003, 02:03 PM   #4
hakcenter
Member
 
Registered: Apr 2003
Location: Not to far from the computer screen
Distribution: RedHat 9.0
Posts: 324

Rep: Reputation: 30
echo 1 > /proc/sys/net/ipv4/ip_foward

iptables -t nat POSTROUTING -o ethX -j MASQUERADE

where ethX is the eth device for the wan.
 
Old 07-14-2003, 02:11 PM   #5
indy317
LQ Newbie
 
Registered: Apr 2003
Posts: 29

Original Poster
Rep: Reputation: 15
thanks you for helping me
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can i have more than 1 routers? dimgr Linux - Wireless Networking 19 11-21-2004 02:47 PM
Routers New2Lindows Linux - Hardware 5 08-16-2003 07:51 PM
routers ralisch General 16 07-18-2003 04:14 PM
Routers... bac()n Linux - Newbie 3 03-29-2003 12:26 AM
Routers pradeep_nair Linux - Networking 1 03-30-2001 12:33 AM


All times are GMT -5. The time now is 03:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration