Networking Forums

Networking Forums > Computer Networking > Linux Networking > Routing everything through eth0

Reply
Thread Tools Display Modes

Routing everything through eth0

 
 
Phoenix
Guest
Posts: n/a

 
      02-08-2007, 08:50 AM
Hi!

I have a machine using 2 interfaces, eth1 - gigabit, eth0 - 100 mbit.
Using FedoraCore 6(.90).
This machine will be running snort on eth1, so what I want is for all
traffic that the machine needs/initiated from the machine (ping/
traceroute/connecting to sites etc..) to go through eth0.
Basically eth1 will *only* used for snort to sniff the network, while
management etc uses eth0.
eth1 and eth0 have different ip-adresses on different vlan with
different gateways.
Since I am a Solaris admin, I am not that familiar on how to proceed
in Fedora to accomplish this task.
So I am asking for any help to solve this matter of routing everything
through eth0.
Best regards.

 
Reply With Quote
 
 
 
 
Allen McIntosh
Guest
Posts: n/a

 
      02-08-2007, 01:40 PM
> I have a machine using 2 interfaces, eth1 - gigabit, eth0 - 100 mbit.
> Using FedoraCore 6(.90).
> This machine will be running snort on eth1, so what I want is for all
> traffic that the machine needs/initiated from the machine (ping/
> traceroute/connecting to sites etc..) to go through eth0.
> Basically eth1 will *only* used for snort to sniff the network, while
> management etc uses eth0.
> eth1 and eth0 have different ip-adresses on different vlan with
> different gateways.
> Since I am a Solaris admin, I am not that familiar on how to proceed
> in Fedora to accomplish this task.
> So I am asking for any help to solve this matter of routing everything
> through eth0.


Start by turning eth1 off. Don't give it an IP address, and don't turn
it on at boot time. Just before you start snort, bring eth1 up using
ifconfig eth1 up

I'm assuming here that snort will listen on eth1 even if it doesn't have
an IP address. I haven't tried this with snort. I know it works with
ethereal/wireshark, tcpdump and other packet sniffers.
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
disable local routing between eth0 and eth1 - iptables astonishs@yahoo.com Linux Networking 9 05-28-2008 02:34 AM
Can't get eth0 up (wired) - e1000 device eth0 does not seem to be present, delaying initialization. OtisUsenet Linux Networking 2 06-06-2007 02:57 AM
routing wlan-usb to eth0 Martin Klar Linux Networking 4 02-11-2007 12:13 PM
Need help w/routing between Eth0 and modem Scott Ehrlich Linux Networking 2 05-22-2005 11:19 AM
how tho change source address of eth0/eth0:1 ? news Linux Networking 2 06-09-2004 03:25 PM



1 2 3 4 5 6 7 8 9 10 11