Jump to content

Routing traffic.


3lade
 Share

Recommended Posts

I was wondering if anyone has tried this or would know a solution to this problem. I have a PC on a lan, network interface eth0 is the main connection, with an IP of 162.168.0.104 Next I have a sharp Zaurus, IP 192.168.129.201, connected to the PC through a USB cradle. This has a network interface of usb0 with a IP address of 192.168.129.1 Everything works fine between the PC and the Zaurus but I was trying to ping to other PC's on the lan. I can ping 192.168.0.104 from the Z but I cant get the PC to route anything further.

 

Got any ideas?

Link to comment
Share on other sites

3lade: Are you using firewall?

 

If you used the Internet sharing wizard it activates shorewall the firewall.

 

It seems to be routing OK but your network congih seems strange unless you have A LOT of PC's

 

Your eth0 IP is class 'C' so I presume your netmask is 255.255.0.0 ?

 

I don't know from what you said if your at work or home ... but if your at home you should really narrow it down.

 

Anyway, it appears you have a route set from 192.168.129.0 so perhaps your blocked by the firewall. Your also going from a RFC address to a forwardable address. There s an option needs setting in shorewall. Anyway no point writing more till we know if your using shorewall :-)

Link to comment
Share on other sites

Sorry dude, yep this is at work. The IP for the PC is set so cant change that, well I could be poeple would moan. The Zaurus IP is the default one set by the install, as it sync'ed I didnt mess about with it.

I am not using a firewall, I did try the ICS wizard and it did install Shorewall but it then blocked all access to the PC (not good for a file, print, web and database server) but the internet connection for the PC is only a proxy config not a router or anything. So all I need to do is be able to 'see' the internet server on 192.168.0.101 and it should work :wink:

BTW the subnet is 255.255.255.0

Link to comment
Share on other sites

I gave up on the Internet Connection sharing wizard setup in Mdk.

Mainly becuase it made the documentation from shorewall difficult to follow.

I just used the shorewall one and all my problems magically vanished.... thats not to say theirs anything wrong with the mdk one but it seems by default to be for a single PC. I was to lazy to go back and see the shorewall config from Mdk and see what was wrong ....

 

Once I had the documentation from shorewall, a configuration from shorewall that corresponded to the documentation and trusty old webmin I was up and running.

 

I'm no expert it TCP/IP but doesn't a zero indicate broadcast ??

i.e. 192.168.0.101 is broadcasting to all of 192.168 ???

 

Since that conflicts with your netmask that might cause problems....

 

Someone help me out here :wink:

Link to comment
Share on other sites

I know where your leading with this but I think that having a subnet mask of 255.255.255.0 means there can only be 255 nodes on that subnet. Hence my PDA with the different IP address is basically on a different subnet.

 

Ouch, this one is really hurting my small little head now :?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...