LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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-10-2005, 08:13 PM   #1
fuckyou
Guest
 
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 (192.168.1.202) all connected out to the internet through a wireless router(192.168.1.1), linux box's gateway is on the LAN though.

Non-Wireless Network,ETH0, (192.168.0.x): 3 computers including the linux server(192.168.0.2), all connected to the internet through a wired router(192.168.1.100). The router is setup to DMZ to the linux box (192.168.0.2), 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 (192.168.0.100 (wired)) I've added the following route, and when I traceroute to 192.168.1.1 (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
192.168.1.0 255.255.255.0 192.168.0.2 2 LAN


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

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

P.S. Ignore username, I was angry when I created it
 
Old 07-10-2005, 08:19 PM   #2
kencaz
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

Quote:
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...

KC
 
Old 07-10-2005, 08:21 PM   #3
fuckyou
Guest
 
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.
 
  


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


All times are GMT -5. The time now is 12:14 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration