11-23-2004 03:51 AM - edited 03-05-2019 11:20 AM
I have c-1700 router & i have 4 diferent network ids.
now i want to use a win 2000 server form one network segment work as a DHCP server for all four network segment & I want to connect all segment through a router. how can i do it.
Plz. reply.
sunil phogat
11-23-2004 09:44 AM
Hi,
I am guessing you have a Cisco switch here with four VLANs configured??
You need to find out if your model of 1700 supports trunking, will probably be dot1q
You can then connect one of your switch ports to your routers Fast Ethernet Interface.
Set the switch port to trunk:
int fa 0/24
switchport access vlan 2
switchport mode trunk
switch trunk encapsulation dot1q
speed 100
duplex full
!this will trunk all VLANS, you can configure the interface to only trunk specific VLANs using "switchport trunk allowed....."
Then on your router, set your fast ethernet interface duplex to full and speed to 100 and then configure sub interfaces as VLAN trunks:
Note this example assumes vlan 2,4,6 & 8 are being trunked and your DHCP server is on VLAN 6 with IP address 1.1.1.1. Vlan 2 is your Native VLAN, i.e. the actual VLAN your switchport is logically in (PVID).
int fa 0/0
speed 100
duplex full
int fa 0/0.2
encapsulation dot1q 2 native
ip helper-address 1.1.1.1
int fa 0/0.4
encapsaulation dot1q 4
ip helper-address 1.1.1.1
int fa 0/0.6
encapsulation dotq 6
int fa 0/0.8
encapsulation dotq 8
ip helper-address 1.1.1.1
HTH
Paddy
11-23-2004 08:14 PM
Dear paddy,
I have cisco-1700 router & i have 4 diferent network ids.
now i want to use a win 2000 server form one network segment to work as a DHCP server for all four network segment & I want to connect all segment through a router to communicate with each other. How can i do it.(I am using simple switch without VLAN)
Plz. reply.
sunil phogat
11-25-2004 02:11 AM
Hi,
You can use secondary addresses on your Fast Ethernet interface to enable routing between your different network IDs, however i am not sure whether the "ip helper-address" will work between your different network IDs,
If you can try this, then your config would look something like:
int FastEthernet 0/0
ip address 1.1.1.1 255.255.255.0
ip address 2.2.2.1 255.255.255.0 secondary
ip address 3.3.3.1 255.255.255.0 secondary
ip address 4.4.4.1 255.255.255.0 secondary
ip helper-address 1.1.1.2
Let me know how you get on
Rgds
Paddy
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide