Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-10-2005, 07:13 PM   #1
Posts: n/a
Linux with multiple network cards, and bridging both networks together

I'm having an impossible time trying to get my Linux server connecting a wireless and LAN together seemlessly. I originally tried setting up a bridge, but it's also a server with webpages and the such, so that didn't really work out.

Here's my network layout, linux box has a nic and wireless nic.

Wireless Network, WLAN0, (192.168.1.x): 3 computers including the linux server ( all connected out to the internet through a wireless router(, linux box's gateway is on the LAN though.

Non-Wireless Network,ETH0, (192.168.0.x): 3 computers including the linux server(, all connected to the internet through a wired router( The router is setup to DMZ to the linux box (, and the box's default gateway is this router.

I want any computer on the wireless network (192.168.1.x) to be able to connect to any computer on the wired network (192.168.0.x) including the linux box, and the linux box needs to be a non-transparent hop..

How do I do this?

On my main computer's router ( (wired)) I've added the following route, and when I traceroute to (the router on the wireless network), It gets to the linux box and cannot get any further.

Destination LAN IP Subnet Mask Default Gateway Hop Count Interface 2 LAN

Here's my linux box's routes;
[root@p350 ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface * U 0 0 0 wlan0 * U 0 0 0 eth0 * U 0 0 0 wlan0
default UG 0 0 0 eth0

[root@p350 ~]# cat /proc/sys/net/ipv4/ip_forward

P.S. Ignore username, I was angry when I created it
Old 07-10-2005, 07:19 PM   #2
Senior Member
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Re: Linux with multiple network cards, and bridging both networks together

Originally posted by fuckyou
P.S. Ignore username, I was angry when I created it
Gee if we all posted when we were angry this board would have an X rating. I would suggest screaming into your pillow first...

Old 07-10-2005, 07:21 PM   #3
Posts: n/a
I posted months, perhaps years later of when I created that username, and I'm not angry. I think I was sick of registrations back then.

Prof. Fu C-kyou, Esq.


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
Bridging networks alexr186 Linux - Software 0 08-06-2004 06:57 PM
Bridging network cards......... Fireblade74 Mandriva 3 04-18-2004 03:30 AM
Network Bridging question - cards w/ different throughput tisource Linux - Networking 5 01-21-2004 03:10 PM
Assistance - VPN Bridging Multiple Networks neillans Linux - Networking 2 12-03-2003 04:12 AM
Two networks, two network cards, one PC Deffe Linux - Networking 5 11-03-2003 01:00 PM

All times are GMT -5. The time now is 02:34 PM.

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