www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

merging two zeroshell`s

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> Networking
View previous topic :: View next topic  
Author Message
rockmanchile



Joined: 27 Mar 2009
Posts: 32

PostPosted: Fri Mar 27, 2009 10:36 pm    Post subject: merging two zeroshell`s Reply with quote

Hi everyone.

This is my first post so please be patient...jaja.

I haved just configured two zeroshell machines. One in bridge mode with an Atheros PCI card working in AP mode and two ethernet cards. The other one working in normal mode with one ethernet an also an atheros card working in AP mode. The first Atheros (lets call it NODE1) is working in channel 6 and its using the 192.168.100.0/24 segment. The other one is working in channel 11 and its working in the 192.168.200.0/24 segment (NODE2).

Now the problem..

The first machine is working in bridge mode in the same segment that the second one. Each one of the machines have his own IP and i can ping them from my laptop.

In the bridged machine (NODE1), the output interface is connected directly to the NODE2.

In Router --> NAT section, i have all the interfaces in masquerade (on both machines), and also a DHCP pool configured for each one of the wireless interfaces (on NODE1 and NODE2).

Now when i have a wireless client connected to NODE1, he cannot ping to a user connected to NODE2 and viceversa.

In a few words, i need to merge two Zeroshell`s access point through a crossfade cable. I think i can solve the issue with IPTABLES but i didnt have success so far.

Any help will be apprecciate.

Best regards.

Rockmanchile.

P.D: Excuse my english.
Back to top
View user's profile Send private message MSN Messenger
yum



Joined: 21 Dec 2008
Posts: 48

PostPosted: Sat Mar 28, 2009 8:26 am    Post subject: Reply with quote

Hi!

Can you show the picture of your network?
Back to top
View user's profile Send private message
rockmanchile



Joined: 27 Mar 2009
Posts: 32

PostPosted: Thu Apr 02, 2009 2:46 pm    Post subject: Reply with quote

This is my configuration:



What i need is that a wireless client connected to the first zeroshell machine (192.168.100.0/24) be able to ping another one connected to second machine (192.168.200.1/24).

From the LAN i can ping both of the machines on the 10.0.0.0 network, the problem is with the wireless clients.

Hope you can help.

Regards.

Rockmanchile.
Back to top
View user's profile Send private message MSN Messenger
ppalias



Joined: 17 Dec 2008
Posts: 1151
Location: Athens, Greece

PostPosted: Fri Apr 03, 2009 7:22 am    Post subject: Reply with quote

Your problem is not in IPTABLES but in NAT and ROUTING. First of all remove the nat from all the interfaces. Both your wireless and ethernet interfaces are using private addresses and NAT is not necessary. You will NAT on the router that has an internet gateway. Then either enable RIP on ZS nodes 1 and 2, so they can exchange routing information, or add static routes about the wireless networks. For example on node 1 add a static route for 192.168.200.0/24 via gw 10.0.0.2 and on node 2 add a static route for 192.168.100.0/24 via gw 10.0.0.1
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> Networking All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group