01-09-2024 01:04 AM
I am new to Cisco and I am teaching computer network at secondary school.
Students networks contains a router, switch, Windows server, windows client, AP and network printer.
Earlier I used TP-link Omada ruter. It was almost plug an play. Plugged the network cabel between the school network and wan-port, and got a dynamicly assigned ip-address. Did a simple LAN-configuration with no DHCP. Windows server run DHCP.
What is the best way to configure ISR1111 to work in this network?
My skills is to login with console cable and do the startup configuration, using putty. And of course do a hard reset
I tried this configuration, but it only works with a static ip-address on wan. https://howtorouteswitch.com/how-to-configure-a-cisco-router-for-internet-access-step-by-step/
Hope someone can help me.
01-11-2024 03:21 AM - edited 01-11-2024 05:07 AM
>>> but it only works with a static ip-address on wan <<<
you are mistaking here ? look at below section from the page you provided
In case the ISP’s line provides IP addresses dynamically, I’m going to give you the commands to allow your router to request and receive its public IP address from the ISP. Remember, the provider’s end has to be configured to provide an IP address with the DHCP protocol, which is the protocol used to assign IP addresses.
Router#config term Enter configuration commands, one per line. End with CNTL/Z. Router(config)#interface gigabitEthernet 0/0 Router(config-if)#description INTERNET LINE Router(config-if)#ip address dhcp Router(config-if)#no ip proxy-arp Router(config-if)#no ip unreachables Router(config-if)#no ip redirects Router(config-if)#no shutdown Router(config-if)#exit
for more specific documents to configure the router look at:
Cisco 1000 Series Integrated Services Routers - Configuration Guides - Cisco
this command needs to be adjusted according to your providers gateway
Router(config)#ip route 0.0.0.0 0.0.0.0 165.13.70.65
you can try if this works
Router(config)#ip route 0.0.0.0 0.0.0.0 <wan-interface> dhcp
01-11-2024 07:20 AM - edited 01-11-2024 07:21 AM
Hi magner,
If you want to go with static ip configuration....you can try with following configuration...hope, it's helpful..Assuming Gig0/0/1 is connected to ISP
interface GigabitEthernet0/0/1
ip address YOUR_ISP_IP_ADD SUBNET_MASK
no shutdown
ip route 0.0.0.0 0.0.0.0 YOUR_ISP_DEFAULT_GATEWAY
Best regards
******* If This Helps, Please Rate *******
01-11-2024 08:36 AM
Earlier I used TP-link Omada ruter. It was almost plug an play
it should work same way for the router to, but need some configuration required to be done.
Plugged the network cabel between the school network and wan-port, and got a dynamicly assigned ip-address
You need make same small diagram how you doing to understand your self and make document what subnet you getting from your WAN, what subnet you like to use on LAN side behind the switch.
on the switch - what model switch you have or no switch at all ? if switch in the path ?
the example document works as expected - if the router just do the routing bit.
If you like to do any NAT you need to add NAT configuration
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