LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 03-27-2005, 12:02 PM   #1
crm
Member
 
Registered: Apr 2004
Location: leeds - UK
Distribution: Gentoo Stage 1 on Riser FS 4
Posts: 204

Rep: Reputation: 30
another simple routing question


hello*
i have a pritty simple set up -

DSL terminal adapter --- firewall (ipcop) --- (eth1)my computer (linux) (eth0) --- my laptop (macOS)

until recientally i havent needed access to the internet... however.. now i do.
i dont have a clue what im supposed to type into route or iptables* to 'tunnel' the connection so my laptop can get an external connection


*ive serched the net/manpages/linux knolegeable friends, for two days for a simple explination of the syntax of route and iptables, and everything i find seems to be written for streight A networking gienouses who fart subnets, even the basic howtoos confuse me
 
Old 03-27-2005, 02:20 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i'd really suggest not doing it the way you want to... why not just get a really really cheap hub or switch to share the connection directly from the ipcop machine? or even put the spare NIC i assume is in your workstation and put it into ipcop and use the "blue" interface for the laptop. the green and blue interfaces would need to be on different subnets, but it's pretty simple.
 
Old 03-27-2005, 07:39 PM   #3
crm
Member
 
Registered: Apr 2004
Location: leeds - UK
Distribution: Gentoo Stage 1 on Riser FS 4
Posts: 204

Original Poster
Rep: Reputation: 30
hummm - okay ill take your advice...
but for future knolege - is there any reason why this routing task is so difficult?
 
Old 03-29-2005, 01:45 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well it all depends how it's done. each section there would need to be a different subnet. e.g 192.168.1.0/24 on your workstation to ipcop, and 192.168.2.0/24 between laptop and workstation. once that logic is laid down, any basic firewalling app, like firestarter should be able to get the laptop routing through the workstation.
 
  


Reply



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
Simple Routing - not working jsinfcva Linux - Networking 5 12-15-2004 09:08 PM
simple routing rules freelinuxcpp Linux - Networking 0 03-03-2004 07:33 AM
routing issue :- have a simple private LAN, with.... inode100 Linux - Newbie 4 02-23-2004 03:52 PM
simple routing between subnets without NAT iggymac Linux - Newbie 2 03-24-2003 04:38 PM
Simple routing nightmare rodo Linux - Networking 1 11-13-2002 01:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:04 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
Open Source Consulting | Domain Registration