LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-28-2005, 04:08 AM   #1
sys7em
Member
 
Registered: Oct 2004
Location: Germany
Distribution: Slackware
Posts: 158

Rep: Reputation: 30
Can a firewall and bridge coexist?


Here's the thing:
I have two real ip adresses:
The first one I use for the firewall (iptables+MASQ) ...
All the private ip addresses (192.168.0.0) are being masqueraded through the first real ip address.
But I have second real ip address ... I want it to use it with a bridge so a computer from the internal network can use this address ...

Is that scenario possible?

If it is ... then how should I do it ?

Thanks in advance ....
 
Old 09-30-2005, 01:43 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Offhand, I don't see any reason why it wouldn't work. (then again, it's late and I'm tired so...). You'll just need to be sure to set the routing tables correctly to make sure that all data to/from the second real IP is passed through the firewall machine (since it is directly connected to your ISP). You might want to buy a third NIC for the firewall and just connect the NIC with the 2nd real IP to it via a crossover cable so you can route all traffic to/from that IP through a separate interface -- might make things a little easier.
 
  


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
ntop on a bridge-firewall mago Linux - Networking 0 11-10-2005 09:53 PM
Bridge/Firewall Connection Problem jhp Linux - Networking 0 10-15-2004 07:07 AM
Firewall Bridge Lame Linux - Security 1 09-23-2004 05:50 PM
Firewall Bridge Lame Linux - Newbie 0 09-22-2004 06:13 AM
Firewall-Bridge Kernel Question eldavido Linux - Networking 3 09-26-2003 11:39 PM

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

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