02-17-2023
11:59 AM
- last edited on
02-20-2023
10:40 PM
by
Translator
hi
i want to know if is possible to connect a modem isp dhcp to port g0/1 and connect a end user to g0/0 and receive a dhcp directly from isp modem not from cisco router (not Nat form router cisco)
thank you for your help
router: cisco 2951
also :ars1k
this is my config :
interface GigabitEthernet0/0
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
no ip route-cache
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address dhcp
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
!
ip nat inside source list 50 interface GigabitEthernet0/1 overload
ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0 dhcp!
!
!
access-list 50 permit 192.168.1.0 0.0.0.255
!
thank you again for your help
Solved! Go to Solution.
02-17-2023 01:50 PM
You need to bridge the interface, i know new platforms works never tried on 2951
check below guide to help you :
02-17-2023
12:37 PM
- last edited on
02-20-2023
10:42 PM
by
Translator
Are you Looking to bridge the interface to get IP address to user directly from ISP Modm ? so what is the use of router, you can use the switch right?
If you like to use Router in between ISP Model and Lan
ISP Modem -------gig0/1--gig0/0---LAN
change this to outside interface :
ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/1 dhcp
what IP address you get from DHCP on the gig 0/0 from DHCP? (make sure that is not conflict with LAN IP address)
can you post below information :
show IP interface brief
are you able to ping me from
02-17-2023
12:44 PM
- last edited on
02-20-2023
10:43 PM
by
Translator
my goal is to put the isp modem in port g0/1 and send it to port g0.0.36
but I wanted to test without vlan to see if it works
Router#sh ip interface brief
Interface IP-Address OK? Method Status Protocol
Embedded-Service-Engine0/0 unassigned YES unset administratively down down
GigabitEthernet0/0 192.168.1.1 YES manual up up
GigabitEthernet0/1 192.168.2.150 YES DHCP up up
GigabitEthernet0/2 unassigned YES unset administratively down down
ucse1/0 unassigned YES unset administratively down down
ucse1/1 unassigned YES unset up up
NVI0 192.168.2.150 YES unset up up
Vlan1 unassigned YES unse
I also use the router for other inputs, I do this because my isp modem which also carries the iptv signal,
it is too complicated to configure the multicast addresses in the cisco router for the tv to work,
and I carry this signal on the fiber to another location
thank you for your help again
02-17-2023 01:50 PM
You need to bridge the interface, i know new platforms works never tried on 2951
check below guide to help you :
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