How can I connect a cisco router to the internet via a cable modem / router gateway

I have searched here but can't find the exact answer that I'm looking. I have a switch and a router cisco 1760 2950. The router has an added ethernet wic card so I have two ethernet connections available. I would like to connect the cable modem gateway the router through one of the connections on the router, then the switch ethernet. I can't get this configuration to work. There are several different ways, I saw displayed to accomlish. DHCP, without dhcp, creating a separate network and giving the e0/0 cable an ip address in the range of addresses network gateways. None of this has worked. Can someone after the commands that must be entered on the router to make this possible?

Hello, I'm assuming that your ISP is to give addresses via DHCP...

And I suppose also we want to implement our router DHCP in our local network to give our PCs and laptops etc...

So what we need to do is:

conf t

!

interface e0/0

Description # INTERNET #.

IP access-group MY_WAN in

DHCP IP address

NAT outside IP

No tap

!

interface e0/1

# MY LAN description #.

IP 192.168.1.1 255.255.255.0

IP nat inside

!

IP access-list standard MY_LAN

permit 192.168.1.0 0.0.0.255

!

MY_WAN extended IP access list

allow tcp any a Workbench

refuse TCP a whole

allow an ip

!

IP nat inside source list MY_LAN interface e0/0 overload

!

IP dhcp excluded-address 192.168.1.0 192.168.1.99

!

dhcp MY_LAN IP pool

network 192.168.1.0 255.255.255.0

default router 192.168.1.1

Server DNS 8.8.4.4 8.8.8.8

In this configuration, I applied an ACL for a protection to my router and my network to allow only established connections that Ive from my LAN to return to me. Anyone who tries to open a connection to your router will be refused. Everything is allowed. But you can change this option to be more specific rather than wide.

On your switch, if you leave all ports in the vlan 1 and have as access ports, it should work.

Hope this helps

Please note the useful messages and don't forget to mark resolved all questions answers. Thank you.

Tags: Cisco Network

Similar Questions

  • How can I connect my BlackBerry smart phone to internet via bluetooth on my laptop connection?

    I have connected my BlackBerry smart phone to my laptop via a Bluetooth successfully, but when I tried to connect to the internet, here's a message appears: your device cannot automatically connect to the internet, you want to enter user name and number manually?

    So, how can I connect my BlackBerry smart phone to the internet via a bluetooth connection?
    Thank you
    Michael

    Hi Michael,

    You must create a connection switched to solve the problem:

    Please follow the steps:

    a. click on the blue Windows logo at the bottom of the screen, then click on 'control panel '.

    b. double-click on "Network and sharing Center." If you don't see this icon, click on "Classic view" in Windows Vista. In Windows 7, click on the "view by:" drop-down menu and select 'small icons '.

    c. click on "Set up a connection or network" on the left side of the window. Select "Set up a dial-up connection" and then click "next".

    d. type the phone number of your Internet Service provider in the box "Dial-up phone number." Type the number exactly as you need to dial it in your area - include the area code if required by your telephone company.

    Enter your user name and password. The ISP gives you this information when you create your account. Check the box "Remember this password" to avoid having to enter the password each time you use the connection.

    f. type a name in the box 'Connection name' which will help you to remember which connection it is.

    g. check the box "Allow other people to use this connection" to make the connection available to all users on your computer.

    h. click the 'Connect' button to connect to the Internet service provider and save the connection. You can connect to it in the future by clicking on the logo Windows at the bottom of the screen, then "Connect To."

    For more ihelp:

    Contact the wireless service provider for more information on how to connect to the internet using mobile phone on PC.

    I hope this helps.

  • How can I connect Windows Fax and Scan? I have a cable modem

    I have Windows 7 and I'm using Cablevision as my ISP. Installed a Motorola Surfboard Cable Modem SBV5120. I want to use the program Windows Fax and scan to send a fax, but Setup search a modem and can't find what I have Cablevision. How can I use the Windows Fax?

    Fax requires the use of a standard phone line, no cable.

  • I can't connect my Ibook G3 to the internet via the airport.

    Hello
    I recently bought an Ibook G3 and unable to connect to the internet using Airport. I can find my internet provider and it allows me to enter the password for it, but after I have get the same message:
    "An error has occurred all trying to join the selected airport network. -3151.
    the password is correct, so I don't know why its not connecting.
    I checked the map, and everything seems OK.

    the Ibook is a Mac OS 9.2

    version Mac OSZ1 - 9.2.2

    Help, please! -J' I feel like IM going crazy trying to get it to work

    I would start by temporarily disable encryption on your wireless network wireless. Once you do, try to see if your iBook can connect now. If so, the AirPort card built into your iBook isn't able to connect to networks wireless using WPA or WPA2. It depends on the version of the card itself.

    What model or the exact order number is your iBook? The two would begin with the letter "M". For example, a typical model number would be: M2453 PC. An example of a sequence number would be: M7707LL/A. All the iBook G3 had the option for a map AirPort 802. 11B.

  • How can I connect to xbox live on the internet with an ethernet port?

    I am currently in College and I have tried everything to connect my xbox to xbox live.  I entered the IP address, subnet, gateway and DNS settings, and I have not yet connected to my network.  What is the problem?

    Not the right forum to do this, but I will try to follow if/when it is moved.  You can also try http://forums.xbox.com

    If it is an Xbox 360 with NXE (dashboard updated):

    -When you go to the "chain of the system" (extreme-right under "my Xbox" on the dashboard), go to network, and then test the network connection.  See if any of the suggestions here correspond to the you receive the error message:
    http://support.Xbox.com/support/en/us/NXE/xboxlive/troubleshooting/gettingconnectederrorslist.aspx

    Nu WinBreak.com - video game Fanblogging

  • How can I connect my nokia 6600 and a laptop via bluetooth

    How can I connect my nokia 6600 and a laptop via bluetooth to send information?

    This is so complicated. I have this suite of pc to 6600 installed in my laptop and I can't connect it.

    Can someone help me?

    Hello

    have you tried connecting your phone via bluetooth toshiba Device Manager?
    Device Manager is operating the BT device automatically then maybe the pc suite does not work.

    Welcome them

  • I can't connect my HP 7520 to the internet.

    Hello

    I can't connect my HP 7520 to the internet. The network works for all customers, but not for my HP 7520. He wants me to enter settings Proy address and port. What is computer /?

    I have an AUSUS router.

    Best regards / Robert

    Given that the printer can connect to the network and will allow you to print, I'm not sure that there is a network problem. Connection to another network and checking the EWS and applications Internet would be a great step in troubleshooting, and I'd be curious results if you try.

    The only other option I can suggest would be to contact the HP Cloud support team, if you have not yet. If you live in the USA/Canada, 1-855-785-2777. If you live outside the USA/Canada, click HERE to find the number of Technical Support for your country/region.

  • Could not connect to the internet via a USB Modem

    Could not connect to the internet via a USB Modem from my Nokia 6275 CDMA phone.

    Windows vista detects my phone connected via Nokia PC Suite via USB cable, but I couldn't connect to the internet using my phone as a USB modem dial. However, I am connected to the internet through the same dial-up access when I use bluetooth to connect to my phone as a modem. Please give me an emergency solution. I'm using windows vista 32-bit edition. It's windows vista Home premium.

    http://www.Microsoft.com/Windows/compatibility/Windows-Vista/default.aspx

    Windows Vista Compatibility Center

    First thing to do is to check its Vista compatibility at the link above, and if not to see what patches/solutions are available from its manufacturer...

    And contact the technical support of Nokia: http://www.nokia.com.au/get-support-and-software/download-software#.

    See you soon.

    Mick Murphy - Microsoft partner

  • How can I connect macbook to ethernet to the United Kingdom

    How can I connect my new macbook to ethernet?

    Can not buy adapter in apple store

    Please advise me

    Apple and others sell the adopter

    ter http://www.Apple.com/shop/product/MD463LL/A/Thunderbolt-to-Gigabit-Ethernet-ADAP

    Call the Apple store first to see if they have that I stock

    For the future, n note you posted Mac Pro desktop computer forum

  • How can I connect video recorder to Satellite P105-S6064 via tuner USB

    Can someone can guide me how can I connect the VCR to laptop model Satellite P105-S6064. Now I connected the TV via USB. Is it necessary that I have to redo my settings to view the VCR.

    The statement on the USB tuner is not unclear.
    I assumed that if I connect the VCR output via USB in component. I'm not able to view.

    Which USB TV tuner you use? Are there branches in port?

  • Tecra A8 - unable to connect to the Internet via a cable

    Hello!

    I can't connect my laptop to the Internet via cable. The laptop does not recognize when I put the cable. Recognize only the wireless connection.

    Can someone tell me, what is the right software that I need to install in order to have cable internet?

    Hello

    Normally you n t need a software to connect to Internet or router. You should only check the TCP/IP settings. This means that if you have a router that supports DHCP default settings should be allowed, otherwise, you will need to set static IP addresses. It s based on your router configuration.

    What OS do you have right now?
    Is the OS installed Toshiba now or another OS?

    You can also try to update the network driver which can be downloaded from the Toshiba page.

  • Unable to connect to the internet via a cable brodband or dsl computer laptop HP pavilion g6

    good day to you all...

    Please kindly help regarding me my problem... I deleted my local c drive using a third-party gparted application... I did this because I do a partion before I reformat my laptop HP PAVILION G6... then I have already installed windows 7 on my laptop, but my problem now I can not connect to the internet via broadband or ADSL cable... can you please help me find a solution... also, my wifi does not work before and I found the wireless LAN driver here I download yesterday... now wifi works...

    Thanks in advance

    Hello

    Please download the driver from the internet of the HP website steps below.

    1. Go to the web page software downloads & HP driver for your model.
  • How can I connect to AD with my Recon planner via the main method?

    Hello

    I want to have a main method in my recon scheduler.from here, I want to connect to Ad?
    How can I do this?

    I gave you a few lines of code in your other post. He made the connection with AD. Now, you can use the ctx and make your query which will fetch users etc. of pub for you.

  • How can I connect as an administrator or the owner so I can down load a driver for my HP5530 Scanner?

    I started the load downwards and then it stops and the message sayes I have to log on as an administrator.  It is a private residence and not network computer.

    I started the load downwards and then it stops and the message sayes I have to log on as an administrator.  It is a private residence and not network computer.

    If you are NOT Admin, you cannot 'connect' as one, and you can not download programs.
    Talk to the person who is the administrator.

    t-4-2

  • How can I connect my Kindle Fire to my PC via USB?

    I try to connect my Kindle fire with a USB port on my computer, and it says that the device driver cannot be detected, what can I do?

    When connecting the Kindle to the computer via USB, the computer sees the Kindle as it does with a flash drive.  This allows you to copy things and from the Kindle.  For example if you have a lot of MP3 files, you can use the connection to copy them into the folder of music on the Kindle.  If you have downloaded things from sites other than Amazon, you can use this connection to back up your computer.  Of course everything that you download on Amazon, you don't have to save because Amazon their backs until their cloud automatically.

    I hope this helps.  Good luck.

Maybe you are looking for