09-27-2018 06:32 AM - edited 09-27-2018 06:33 AM
I need to create a virtual interface on a router for an ISP modem to provide internet access. The ISP has provided the IP, mask, and gateway for the modem. However, what will the IP address need to be for the interface on the router? Do I just choose the next available 3rd octet address? Example:
Modem:
IP address: 192.168.2.2
Mask: 255.255.255.0
GW: 192.168.2.1
Router interface:
interface gi0/0.100
description ISP Modem
encapsulation dot1q 100
ip address 192.168.2.3 255.255.255.0
Would this be correct?
09-27-2018 07:14 AM
Hello
Usually you would receive it via dhcp allocation so set you interface for dhcp and see if you do indeed receive addressing but prior to this did they specify what kind of virtual interface this needs to be or did your just select .100
09-27-2018 08:01 AM
Hi Paul - I'm not sure if the modem will be static or DHCP. They wanted us to set the interface beforehand, but we can plug a laptop into the model and see what we get. The .100 interface is part of a standard config they sent us. They have all of the config info, but the ip and mask for the modem is left blank.
Thanks for the reply.
09-27-2018 08:31 AM
Hello
i am guessing it’s gojng to be dhcp give that the address range is private
09-27-2018 08:41 AM
Hi
Router is your gateway, 192.168.2.1 is the ip which you have to configure on the router interface.
09-27-2018 11:42 AM
Hi Sivam - That must be it. I will give it a shot and see if that takes care of. Thank you.
09-28-2018 09:42 AM
welcome
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