[x] Welcome to LinuxSolved.com Linux help forums, here we are a community of Linux users helping each other. It is helpful to both ie. new linux users as well experienced one. We always have our experts to help you and ofcourse members help each other, so you can ask for help any time by Registering.: Click to Register

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Linux Forums - Linux Help,Advice & support community:LinuxSolved.com  |  Forum  |  Network Troublshooting  |  General Networking Support in Linux  |  Topic: Connection Sharing
The LinuxSolved.com GNU/Linux User Communit - Forum
Welcome to LinuxCommunity You have just arrived to a friendly linux community which is helping Linux Users from Years.. You can be its part if you have not already joined it. Registration is FREE and is gateway to unlimited help and support to all your linux related needs. If you are an GNU/Linux supporter then you have come to the right place.
Pages: [1]
  Print  
Author Topic: Connection Sharing  (Read 1152 times)
0 Members and 1 Guest are viewing this topic.
starmonche
Linux Noob !
*
Offline Offline

Posts: 6


View Profile
« on: January 21, 2005, 03:48:30 PM »

i have 3 boxes connected directly to my router. one is a slack box with two ethernet cards that has an xp box connected with a crossover. the xp box behind my slack box has internet access but cannot see the other comps on my lan (and vice-versa). i suppose i could connect a hub to my router and plug said xp and slack boxes into it but i'd like to get my setup working fully as is. any suggestions?
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2215


View Profile
« Reply #1 on: January 23, 2005, 03:45:24 AM »

umm..
You said you are unable to see other computer on xp box.. b'coz that is on another LAN Smiley
to see other box in that you have to do bridging !
That can be done on Slackware box.

for bridgin there are few methods available.. do a search on google.com/linux
Logged
starmonche
Linux Noob !
*
Offline Offline

Posts: 6


View Profile
« Reply #2 on: January 23, 2005, 11:52:54 AM »

Ah, so "bridge" is the word I was looking for. I read up on it and it makes sense. One thing I left out, though, is that my Slack box is a webserver and the documentation I'm reading seems to be saying that my slack box will simply connect the two networks together by "giving" one NIC card to each network. Is this getting too sloppy?
Logged
starmonche
Linux Noob !
*
Offline Offline

Posts: 6


View Profile
« Reply #3 on: January 23, 2005, 01:49:37 PM »

i hate googling for something and finding a forum discussing my problem without it listing a solution:

--------------------------------
brctl addbr bridgename
brctl addif bridgename eth0
brctl addif bridgename eth1
ifconfig eth0 0.0.0.0
ifconfig eth1 0.0.0.0
ifconfig bridgename [ip address] netmask 255.255.255.0 up

[taken from http://www.linux.com/howtos/BRIDGE-STP-HOWTO/set-up-the-bridge.shtml
]
--------------------------------

this works and both my xp box and slack box have 'net and lan access.

only remaining issue is that i'm unable to see the web site on my slack box unless i navigate to its local ip. (my router fwds port 80 to the slack box and it works fine if i undo the bridge).
Logged
starmonche
Linux Noob !
*
Offline Offline

Posts: 6


View Profile
« Reply #4 on: January 23, 2005, 03:41:27 PM »

sorry for the flood...i figured it out:

route add default gw x.x.x.x bridgename

where x.x.x.x is your router's ip
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2215


View Profile
« Reply #5 on: January 24, 2005, 03:23:53 AM »

Hmm.. ya you have really flooded.. so now on what I can help you!
Logged
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
   

 Logged
Pages: [1]
  Print  
 
Jump to:  

Welcome, Guest. Please login or register.
Did you miss your activation email?
December 01, 2008, 07:37:37 PM

Login with username, password and session length
Navigation
Recent Discussions
[November 29, 2008, 02:23:49 PM]

[November 29, 2008, 02:14:14 PM]

[November 29, 2008, 04:00:36 AM]

[November 28, 2008, 07:05:28 AM]

[November 28, 2008, 07:04:39 AM]

[November 28, 2008, 06:58:16 AM]

[November 28, 2008, 06:47:09 AM]

[November 26, 2008, 11:53:32 AM]

[November 26, 2008, 04:00:22 AM]

[November 25, 2008, 06:44:47 PM]
Members
Total Members: 6252
Latest: rash31
Stats
Total Posts: 8285
Total Topics: 2257
Online Today: 34
Online Ever: 111
(June 28, 2007, 06:47:29 AM)
Users Online
Users: 0
Guests: 6
Total: 6
Privacy Policy| Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Theme & TinyPortal v0.9.8 © Bloc