Picture: http://i1144.photobucket.com/albums/o493/NoCodeMonkey/SAM_0069.jpg

Ok so Im confused, In the pic I have 2 vlans (VLAN2, and VLAN3) and the network address of this network is 192.168.0.0. Router has an ip address of 192.168.0.1 for fa0/0, and is connected to VLAN1 (the default) to f0/5 with an ip address of 192.168.0.2 for VLAN1. When i have VLAN2 and VLAN3 do i have to give them a different address for a different network [EX. VLAN2 = 192.168.1.0] and give the hosts on that network that network rage of addresses?

VLAN 2 & 3 would be on their own subnets such as 192.168.1.0/24 and 192.168.2.0/24. However, with only one router interface, the connection between the switch and the router would need to include tagging for vlans 2 and 3. You would need to assign addresses to the router in each of those VLANs as well. These addresses become the default gateway for each subnet.

so what would be the commands used?

Command on what? Switch or router config? What type of hardware do you have?

2811 router

2950-24 switch

I just need to see how u include tagging for vlans 2 and 3 and assign addresses to the router in each of those VLANs you talked about.

Cisco.. sorry, will need someone else to assist on this thread with the specific commands.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.