LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-14-2004, 12:58 PM   #1
tlawlessrr
Member
 
Registered: Mar 2004
Location: Tampa, FL
Distribution: SuSe 9.1 and Fedora Core 2
Posts: 38

Rep: Reputation: 15
How to set up a bridge?


I want to set up a network that does not include any Microsoft machines.

The network consists of 2 slackware 10 boxes and 1 Fedora Core 2 box.

We want the fedoa box to be a Domain Controller so that the 2 client machines can authenticate threw it using samba.

Problem is Fedora Box only has 1 nic card.
We have set the nic card so that it is a part of our larger windows network. Only for connecting to the router.
192.168.1.69
192.168.1.1 is its gateway.

And it has an address for our smaller nework.
192.168.3.1
192.168.1.69 is its gateway

Both of our client machines .3.10 and .3.15 have their gateways set to 192.168.3.1

But neither machine can get out threw the router.

What am I doing wrong here?
 
Old 07-14-2004, 01:30 PM   #2
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
Quote:
I want to set up a network that does not include any Microsoft machines.
ok
Quote:
We want the fedoa box to be a Domain Controller so that the 2 client machines can authenticate threw it using samba.
I don't get it, why not use NFS, it is more suitable for unix network.
Quote:
Problem is Fedora Box only has 1 nic card.
Explain me how do you connect the two other PCs to this box as it is already connected to a network and it has just one net card.
 
Old 07-15-2004, 08:15 AM   #3
tlawlessrr
Member
 
Registered: Mar 2004
Location: Tampa, FL
Distribution: SuSe 9.1 and Fedora Core 2
Posts: 38

Original Poster
Rep: Reputation: 15
All of these computers are connected to a switch. All the switches are connected to a router.

I would use NFS but I did not know I could use it as a Domain Controller to authenticate users.

We have set the compters nic card so that it has 2 IP addresses so that it is pingable from both networks.
 
Old 07-16-2004, 05:32 AM   #4
zaphodiv
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
You need to configure the fedora BOX to NAT connections from the 192.168.3 network onto the other network.

Alternativly, if you are using a hardware NAT router as your internet gateway you could give it a netmask of 255.255.0.0 so it will provide a connection for machines in 192.168.x.x and enable packet forwarding on the fedora box without NAT.
 
Old 07-16-2004, 07:13 PM   #5
tlawlessrr
Member
 
Registered: Mar 2004
Location: Tampa, FL
Distribution: SuSe 9.1 and Fedora Core 2
Posts: 38

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by zaphodiv
You need to configure the fedora BOX to NAT connections from the 192.168.3 network onto the other network.

Alternativly, if you are using a hardware NAT router as your internet gateway you could give it a netmask of 255.255.0.0 so it will provide a connection for machines in 192.168.x.x and enable packet forwarding on the fedora box without NAT.
The break in my subnet mask stops at the last 0 which differentiates between the portion of the ip that defines the network and the portion that defines the client. My subnet mast is the same on both class C networks
255.255.255.0
192.168.003.*
192.168.001.*
These 2 networks have no need to ever interact with one another. However both networks will need access to the Internet.
The fedora box now has 2 NIC cards and is on both networks. The fedora box can communicate with both networks.

The clients on the Linux network cannot access the clients on the windows network which is they way we want it.

However we are unable to access the Internet.

Here is the current setting for Fedora netconfig

Eth0
192.168.1.69
255.255.255.0
192.168.1.1
ISP DNS IP

Eth1
192.168.3.1
255.255.255.0
192.168.1.1
ISP DNS IP
 
Old 07-16-2004, 07:22 PM   #6
tlawlessrr
Member
 
Registered: Mar 2004
Location: Tampa, FL
Distribution: SuSe 9.1 and Fedora Core 2
Posts: 38

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by zaphodiv
You need to configure the fedora BOX to NAT connections from the 192.168.3 network onto the other network.

Alternativly, if you are using a hardware NAT router as your internet gateway you could give it a netmask of 255.255.0.0 so it will provide a connection for machines in 192.168.x.x and enable packet forwarding on the fedora box without NAT.
I re-read your post and I do see what you are saying. You are saying instead of have 2 class C networks should more my zero over and create 1 class B network.
 
Old 07-17-2004, 11:39 AM   #7
zaphodiv
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
You internet connection is provided by the device which is 192.168.1.1

That device is only going to talk to machines in 192.168.1.x

To allow the 192.168.3.x machines to send packets to and from the internet through 192.168.1.1 you need your fedora box to NAT the traffic so that connections from the 192.168.3.x machines appear to be coming from the fedora box's 192.168.1.69 address.

I re-read your post and I do see what you are saying. You are saying instead of have 2 class C networks should more my zero over and create 1 class B network.

No that's not what I said. Read the words. I suggested a bodge. You could
a) enable packet forwarding on the fedora machine and b) assuming that the 192.168.1.1 device is a hardware NAT router box not a PC configure it so that it's netmask is 255.255.0.0
This will change it's broadcast address but that dosn't matter because it dosn't use it so it should still work. IF 192.168.1.1 is a PC than mixing up subnet like that will cause problems with widows network neighbourhood.
 
  


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
How to set up a Red Hat 9.0 system as a bridge qqbeng Linux - Networking 1 04-12-2005 12:40 AM
How to set up a bridge? Royle Linux - Networking 10 10-30-2004 09:26 PM
how to set up bridge? munkeevegetable Linux - Networking 8 10-10-2004 10:59 AM
Best way to set up a wireless to ethernet bridge? Electrode Linux - Wireless Networking 1 10-12-2002 12:52 AM
bridge Cubiq Linux - Networking 9 08-10-2002 12:13 PM


All times are GMT -5. The time now is 05:25 PM.

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