LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-01-2010, 08:04 AM   #1
y.e.esen
LQ Newbie
 
Registered: Jul 2007
Location: Russia
Posts: 3

Rep: Reputation: Disabled
how to forward eth1 to eth0


Hi
we are currently having a windows virus outbreak in our corporate network, all the it guys using windows machines and they are infected of course.

My question is I have a internet enabled ubuntu 9.10 machine with two nics.

eth0 is for internet and I wanna distribute my internet connection from my other nic.

There are alotta switches and access points in our network but i placed my ubuntu desktop just like the infected windows machine. Everything seems working except other clients internet connections.

Please can you show me how to share internet connection on eth0 to eth1


all the clients use this ip schema
1.2.1.xxx
255.255.255.0
1.2.1.1
and I don't wanna edit their connection setting on their sides.

modem-------eth0 ---------eth1--------switch-----clients
 
Old 02-01-2010, 09:10 AM   #2
sohail0399
Member
 
Registered: Oct 2008
Location: Pakistan, Islamabad
Distribution: CentOS, Fedora, Solaris
Posts: 154

Rep: Reputation: 23
you can use these links to forward packets:


http://www.linuxjournal.com/article/2408

http://www.cyberciti.biz/tips/linux-...etworking.html

http://ftp.utcluj.ro/pub/docs/how-to...tiple-Ethernet
 
Old 02-01-2010, 09:27 AM   #3
y.e.esen
LQ Newbie
 
Registered: Jul 2007
Location: Russia
Posts: 3

Original Poster
Rep: Reputation: Disabled

Thank you for your quick response but last two links generate 404 error.

I solve my problem (not packet forwarding but the connection sharing over network problem) with Untangle distribution but I don't like it because now we can't control users' bandwidth.Maybe there is a way I don't know yet.

Any help appreciated
Thanks in advance.
 
  


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
Forward Port 80 from eth0 to eth1 emjga Linux - Networking 1 02-04-2009 12:57 PM
howto acess intrnet thru eth1(wireless card)in winXP via briging in linux(eth0-eth1) labhesh_popli Linux - Wireless Networking 1 09-21-2006 02:11 AM
port forward from eth0 to eth1 ryanzietlow Linux - Networking 8 03-01-2005 11:08 AM
eth1 added, mysql connections FROM this machine are from eth1. Need bound to eth0??? kreese Linux - Networking 9 03-31-2004 01:12 PM
Kernel 2.4.22 finds eth0 and eth1 but 2.6.0 does not find eth1 coollink Linux - Networking 3 01-13-2004 08:32 PM


All times are GMT -5. The time now is 12:54 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration