Home » Questions » Computers [ Ask a new question ]

Where to find some good examples for TCP/IP Routing

Where to find some good examples for TCP/IP Routing

I got an wireless access point (zyxel g-1000) and connected it to my home-network. But now i would drive this traffic in annother ip-range (172.16.1.x) than my regular network to restrict the access to the resources. Not all resources should be blocked and there comes my question to play: I have a web based wiki running on a particular ip (e.g. 192.168.1.100) which should be accessible from the 172.16.1.x net.

Asked by: Guest | Views: 122
Total answers/comments: 2
Guest [Entry]

"If this is the same server as on your other question, see Step 1 of my answer there to setup your alias eth1:1 to startup on boot. I think that's all you need to do.

Once that's done, your routing table should look something like this:

$ /sbin/route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
172.16.1.0 * 255.255.255.0 U 0 0 0 eth1
default xx.xx.xx.xx 0.0.0.0 UG 0 0 0 eth0

Note that both your LAN subnets route to eth1; that's OK -- that's only the physical interface used. This should be all you need."
Guest [Entry]

"I tried to find some documentation for a G-1000 ZyXel product but came up blank.

I would expect that the access point will support having a separate subnet for the the wireless clients. If so, then it will take care of the routing between the wired and wireless lans.

Once you have the networks configured then block everything from accessing wired networks and setup exceptions for the service you wish to allow - like your wiki server and possibly the internet gateway if it is not the access point."