cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1272
Views
10
Helpful
7
Replies

how to connect new router to the network.

incognito
Level 1
Level 1

hello everyone

how to connsct new router to the network. In our network we have 3750 switch and 2 vlans on it. I just want to install software to router. The soft to router I will instal from FTP server. Open the attached image for more information (I'm sitting in VLAN 100 and FTP server too in vlan 100). Should I configure subinterfaces?

How configuration on both router and switch will look like?

2 Accepted Solutions

Accepted Solutions

Yes, if gigabitethernet1/0/1 interconnects the two devices.

Remember to rate helpful posts and/or mark as a solution if your issue is resolved.

View solution in original post

Depends on how you want to configure your router (and switch). Simplest is access port on switch, IP on interface on router. Again, this assumes you just want router to have host access. If you want the router to route to/from switch, likely more involved.

View solution in original post

7 Replies 7

Joseph W. Doherty
Hall of Fame
Hall of Fame
All you need to do is connect an Ethernet interface, on the router, to a VLAN 100 port on the switch. Then setup that router's interface with an IP that's valid on VLAN 100. Basically, you configure the router as a "host".

When you want the router to operate as a router, with a connection to the switch, then the configuration will likely become more complex.

thank you for the answer

I just want to install software to SRE module on router via FTP server. So the router's going to act like a host.

Will Configuration look like this below?

Switch (current config on switch)

interface vlan 100

ip address 192.168.100.1 255.255.255.0

 

interface gigabitethernet1/0/1

switchport mode access

switchport access vlan 100

 

and we have interface VLAN 200, 300, but administrator's laptop is on VLAN 100

 

On new router:

interface gigEthernet0/0

no shut

no ip address

exit

 

interface gigEthernet0/0.100

Encapsulation dot1q 100

ip address 192.168.100.2 255.255.255.0

 

--------------------------------------------

should I change on switch interface gigabitethernet1/0/1 from switchport mode access to trunk mode?

 

 

Yes, if gigabitethernet1/0/1 interconnects the two devices.

Remember to rate helpful posts and/or mark as a solution if your issue is resolved.

If the switch port is an access port, you would NOT configure a subinterface on the router port.

e.g.

Switch (current config on switch)

interface vlan 100
ip address 192.168.100.1 255.255.255.0

interface gigabitethernet1/0/1
switchport mode access
switchport access vlan 100

On new router:

interface gigEthernet0/0
no shut
ip address 192.168.100.2 255.255.255.0

then should I change on switch interface gigabitethernet1/0/1 from switchport mode access to trunk mode?

Depends on how you want to configure your router (and switch). Simplest is access port on switch, IP on interface on router. Again, this assumes you just want router to have host access. If you want the router to route to/from switch, likely more involved.

thank you
i have created one more discussion related to this. https://community.cisco.com/t5/routing/cisco-unity-express-nstallation-setup-sm-sre-700-k9/td-p/3901596
In this case you meant that i don't need any subinterfaces? but we have many vlans configured on switch, but FTP server and my laptop are located in VLAN 100 and router is going to connect to vlan 100.
how to solve the issue on that discussion?