Question Locked

How to setup Linksys WRT54G router to segment a LAN

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello,

I've been looking but not finding any answers to my dilemna, so I decided to finally post.

I have three computers at home and a LinkSys WRT54G router. Even though it is wireless, I am using it in full wired mode no 10/100 NICs. (it was cheaper buying this than a wired version...)

I want to setup an internel network (private LAN) with each PC being on a different SUBNET/SEGMENT. This is for practice and for certification purposes. My router already has connectivity to the internet and has 4-ports.

How do I do this with the router software and the static addressing parameters of Windows 2000 and XP Pro which is what I have?

So far, I tried segmenting with just two segments with two PCs and here is what I did, please feel free to correct me:

- ROUTER IP: 192.168.2.1
- INTERNET portion of router - configured with DHCP and works OK.
- PC #1: 192.168.2.100 (static)
- PC #2: 192.168.2.? (what do I set for this IP? - I tried .150 and the PCs do not see each other)
- DEFAULT GATEWAY on PC #1 network TCP/IP properties: 192.168.2.1
- DEFAULT GATEWAY on PC #2 network TCP/IP properties: 192.168.?.? - I don't know what the "gateway" should be for second PC on the other segment - should it be 192.168.2.129 for example?

- SUBNET MASK: 255.255.255.128 - so this should divide (segment) the network into to subnets of 126 addresses each, 192.168.2.1-192.168.2.126 and 192.168.2.129 - 192.168.2.254

What have I done wrong that the PC's do not see each other when I set IP of PC #1 to 192.168.2.100 and IP of PC #2 to 192.168.2.150 (subnet mask 255.255.255.128)? What do I put as default gateway for the two PCs? etc... ?

I am confused about subnetting configuration at the router itself, not about how subnetting works at the theoretical level.

Please help. Thanks!

John

5 replies

by nicknielsen

For your described configuration, your default gateway will be 192.168.2.1 for all PCs. But you won't get different LAN segments, the WRT54 isn't capable of it that I know of.

by monira_b

if ur routr support multiple ip for one port...I did it on cisco routers
just assign an address from the same subnet with the same mask as a secondary ip :
ip address 192.168.30.1 255.255.255.0
ip address 192.168.2.151 255.255.255.128 secondary

by michael kassner

That particular router does not support VLANs or isolation subnets as is. Using an after market firmware like DD-WRT will allow this. Actually I would not run this router on anything but DD-WRT firmware. You just have to make sure that your particular model will accept DD-WRT.

http://www.dd-wrt.com/wiki/index.php/Main_Page

This discussion is closed to new replies.