06-20-2023 08:40 PM
Hello Cisco Community.
I am new to networking and learning most everything through some classes, books, Internet forums and trial & error on my part (I figure a hands on approach is the best method).
Current Setup: Older PC connected to Netgear CM1200 modem
Final Setup: NetgearCM1200 modem connected to C931-4P routers and 2 PCs connected downstream. 1 computer is fresh build, the other computer is the older desktop.
I am having trouble setting up the router. I tried following the online setup guide, but it is very confusing. I will share my #sh run, #sh ip int, #show ip route below. Let me know if I need to share any other information. I would like to know if there are any glaring mistakes with the commands below and how to fix. thanks.
Context, Gig4 WAN will be connected to modem, Gig2 LAN with be connected to new PC build, and Gig1 LAN will be connected to older PC.
#sh run
Router#sh run
Building configuration...
Current configuration : 1335 bytes
!
! Last configuration change at 03:03:57 UTC Wed Jun 21 2023
!
version 15.8
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 $1$fR/c$EfVAyoJkdyGYNHIs4cyKM.
enable password pass1234
!
no aaa new-model
memory-size iomem 25
!
!
!
!
!
!
!
!
!
!
!
no ip domain lookup
ip cef
no ipv6 cef
multilink bundle-name authenticated
!
!
!
license udi pid C931-4P sn PSZ24331GT6
!
!
!
redundancy
!
!
!
!
!
!
interface GigabitEthernet0
no ip address
!
interface GigabitEthernet1
no ip address
!
interface GigabitEthernet2
no ip address
!
interface GigabitEthernet3
no ip address
!
interface GigabitEthernet4
ip address 75.137.97.88 255.0.0.0
duplex auto
speed auto
no mop enabled
!
interface GigabitEthernet5
no ip address
duplex auto
speed auto
!
interface Vlan1
no ip address
!
!
router eigrp 109
network 75.0.0.0
network 255.0.0.0
!
router rip
version 2
network 10.0.0.0
network 75.0.0.0
network 192.168.1.0
network 255.0.0.0
no auto-summary
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
!
!
snmp-server community public RO
!
control-plane
!
!
line con 0
speed 1200
line vty 0 4
password pass12345
login
transport input none
!
scheduler allocate 20000 1000
!
end
#sh ip int
Router#sh ip int
GigabitEthernet0 is down, line protocol is down
Internet protocol processing disabled
GigabitEthernet1 is down, line protocol is down
Internet protocol processing disabled
GigabitEthernet2 is down, line protocol is down
Internet protocol processing disabled
GigabitEthernet3 is down, line protocol is down
Internet protocol processing disabled
GigabitEthernet4 is up, line protocol is up
Internet address is 75.137.97.88/8
Broadcast address is 255.255.255.255
Address determined by setup command
MTU is 1500 bytes
Helper address is not set
Directed broadcast forwarding is disabled
Multicast reserved groups joined: 224.0.0.9 224.0.0.10
Outgoing access list is not set
Inbound access list is not set
Proxy ARP is enabled
Local Proxy ARP is disabled
Security level is default
Split horizon is enabled
ICMP redirects are always sent
ICMP unreachables are always sent
ICMP mask replies are never sent
IP fast switching is enabled
IP fast switching on the same interface is disabled
IP Flow switching is disabled
IP CEF switching is enabled
IP CEF switching turbo vector
IP multicast fast switching is enabled
IP multicast distributed fast switching is disabled
IP route-cache flags are Fast, CEF
Router Discovery is disabled
IP output packet accounting is disabled
IP access violation accounting is disabled
TCP/IP header compression is disabled
RTP/IP header compression is disabled
Policy routing is disabled
Network address translation is disabled
BGP Policy Mapping is disabled
Input features: MCI Check
IPv4 WCCP Redirect outbound is disabled
IPv4 WCCP Redirect inbound is disabled
IPv4 WCCP Redirect exclude is disabled
GigabitEthernet5 is down, line protocol is down
Internet protocol processing disabled
Vlan1 is down, line protocol is down
Internet protocol processing disabled
#show ip route
Router# show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override, p - overrides from PfR
Gateway of last resort is not set
75.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 75.0.0.0/8 is directly connected, GigabitEthernet4
L 75.137.97.88/32 is directly connected, GigabitEthernet4
06-21-2023 02:23 AM - edited 06-21-2023 02:25 AM
Hi
You did not say what you exactly are try to accomplish and I will suppose you want those 2 PC get access to the internet via your modem.
You are missing a few things.
Local subnet for PCs
Dhcp for PCs
NAT
Static route( you dont need dynamic routing)
1- create a vlan
conf t
vlan 100
name Local-network
Create an interface vlan.
interface vlan 100
Ip address 192.168.1.1 255.255.255.0
On the interface where is connected the PC
conf t
Interface X (PC connected)
switchport mode access
switchport access vlan 100
Then, setup PC 1 with 192.168.1.10 and PC with 192.168.1.11
Now, you have Basic connectivity between PC and router and between PC.
2- You can do better, lets assign DHCP.
conf t
ip dhcp excluded-address 192.168.1.1 192.168.1.5
ip dhcp pool Local-pool
network 192.168.1.0 255.255.255.0
default-gateway 192.168.1.1
Now you can change those PCs to DHCP and they will get IP automatic
3 - Static route
conf t
ip route 0.0.0.0.0 0.0.0.0.0 <modem ip address >
4- NAT
ip access-list standard 10 permit ip 192.168.1.0 0.0.0.255 any
Interface vlan 100
Ip nat inside
Interface GigabitEthernet4
Ip nat outside
Ip nat inside source list 10 interface GigabitEthernet4 overload.
Thats it.
All the commands I am suggesting is from my head, I did not checked this router manual. So, if some command is wrong, let me know.
06-23-2023 08:21 PM
Hello Flavio, let me answer some of your questions for clarification. I am trying to complete the following setup; Netgear CM1200 modem connected to Cisco C931-4P connected to 2 PCs, all hard wired ethernet. The hardware is in place, I am just stumped on the software since this is the first cisco router I have worked with.
I have a few questions before I run commands you sent me;
1. On your paragraph "create vlan", so i type in the exact IP addresses you used, being 192.168.1.1 and 255.255.255.0 subnet?
2. How do I find my modems IP address?
3. What port should have the static route? (For context, Gig1 LAN to older PC, Gig2 LAN to new PC, and Gig4 WAN to modem)
Thanks in advance for the help sir.
06-24-2023 03:57 AM
Hi
"1. On your paragraph "create vlan", so i type in the exact IP addresses you used, being 192.168.1.1 and 255.255.255.0 subnet?"
You need fisrt create the vlan with the command
conf t
vlan 100
Then Assign the IP address to the vlan
interface vlan 100
ip add 192.168.1.1 255.255.255.0 (You can use any other network you want, this is just an example but yes, you should type exactly if you are ok with this IP address)
"2. How do I find my modems IP address?"
That´s a good question with not an easy answer. Can you log in on it? It would be the easier way.
"3. What port should have the static route? (For context, Gig1 LAN to older PC, Gig2 LAN to new PC, and Gig4 WAN to modem)"
The static route:
ip route 0.0.0.0.0 0.0.0.0.0 <modem ip address >
It not added to a port. It is added in the global configuration and must be pointed to the modem IP address.
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