cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1973
Views
15
Helpful
8
Replies

881-W and 3750-X

Ted S
Level 1
Level 1

Hi,

 

I am setting up a lab using 3750-X and 881-W devices.

I want to setup the 3750-X as a L3 switch with the router to the internet.

 

The original plan is to:

no switch port on the switch port to the router

Enable IP Routing on the L3 Switch

Setup Default routes

IP Nat on router

 

My question is because the 881-W has a integrated L2 switch, how should/can I add the 881-W to the switch?

 

Thanks in advance!

 

1 Accepted Solution

Accepted Solutions

On a side note, I think the 881-W has only one routed port, FastEthernet4. There is a GigabitEthernet port, but that is used for the connection to the embedded AP. So your config would look like below (I have not included any NAT statements). Don't forget to create Vlan 2 on the router...

 

881-W

 

interface FastEthernet0
description Downlink to 3750
switchport access vlan 2
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface FastEthernet4
description Link to ISP
ip address dhcp
duplex auto
speed auto
!
interface Vlan1
ip address 192.168.1.1 255.255.255.0
!
interface Vlan2
ip address 10.0.0.1 255.255.255.252
!
ip route 0.0.0.0 0.0.0.0 FastEthernet4 dhcp

 

3750

 

ip routing
!
interface GigabitEthernet0/1
description Uplink to 881-W
switchport mode access
switchport access vlan 2
!
interface Vlan2
ip address 10.0.0.2 255.255.255.252
!
ip route 0.0.0.0 0.0.0.0 10.0.0.1

View solution in original post

8 Replies 8

Ted S
Level 1
Level 1

On a side note, I think the 881-W has only one routed port, FastEthernet4. There is a GigabitEthernet port, but that is used for the connection to the embedded AP. So your config would look like below (I have not included any NAT statements). Don't forget to create Vlan 2 on the router...

 

881-W

 

interface FastEthernet0
description Downlink to 3750
switchport access vlan 2
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface FastEthernet4
description Link to ISP
ip address dhcp
duplex auto
speed auto
!
interface Vlan1
ip address 192.168.1.1 255.255.255.0
!
interface Vlan2
ip address 10.0.0.1 255.255.255.252
!
ip route 0.0.0.0 0.0.0.0 FastEthernet4 dhcp

 

3750

 

ip routing
!
interface GigabitEthernet0/1
description Uplink to 881-W
switchport mode access
switchport access vlan 2
!
interface Vlan2
ip address 10.0.0.2 255.255.255.252
!
ip route 0.0.0.0 0.0.0.0 10.0.0.1

Awesome, will have to try that tomorrow!

Those LAN ports on the Router are Layer 2 (L2) ports.

You can configure an interface Vlan for the vlan configured on the L2 port connecting to the Switch.

Btw, nice lab!

Thanks Hector, so then I would create a new Vlan give it an IP, assign it to lets say port 3 which is connected to the switch and no switch port that port and give it an IP?

 

If port 3 accepts the command no switchport (to make it Layer 3), you can then configure the IP address directly in the port and that is the IP address that will communicate with your Switch since to this interface you are connecting that Switch.

If 'no switchport' is rejected, the port is Layer 2 only and by default it belongs to vlan 1. You can modify the vlan association by running switchport access vlan X in the port configuration where X is any vlan number within the accepted range. In this case, interface vlan X is where you need to configure the IP address.

Ted S
Level 1
Level 1

I appreciate the help from both Hector and Greg. Because Greg provided a working config, i will mark his reply as the solution.

Do not worry about it!
Cheers.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card