Link to home
Start Free TrialLog in
Avatar of charles11212
charles11212

asked on

how to get 2811 router out to internet talk to switch

i am trying to setup my cisco 2811 router what are the steps to get it out to internet and connect to switch  so i can plug in my laptop via dhcp from the cisco router  and the laptop is assigned a private ip address.
Avatar of Patrick Bogers
Patrick Bogers
Flag of Netherlands image

Hi,

It depends several questions.
Is your MODEM/ROUTER a DHCP server?
Depending first answer, what fysical ports are you planning to use? 1 for WAN and 1 for LAN (switch)
Next, are you able to login the router using a blue console cable?
Avatar of charles11212
charles11212

ASKER

yes i have a home lab with static ip from cablevision. i am using  my ethernet cable connected to my cable modem to connect to my cisco 2811 router to fa0/0  and fa0/1 connect to my 3750 cisco switch. i want to manually setup the router configs  on the cisco router  i have all of the static ip info dns server,  i need to know how to nat out of the fa0/0 and what goes inside . a step by step process would help. also to test i want to plug my laptop in my  3750 switch to see if i can browse the internet from the router configuration.
Login to the router and type

config t

interface FastEthernet0/0

ip address dhcp

*this command accepts a DHCP address given by the cablevision router*

for your other interface (FastEthernet0/1):

config t

interface FastEthernet0/1

ip address 10.1.1.1 255.255.255.0
(this is an example which offers 255 ip adressess on the 10.1.1.x network, change the ip addess range that you want for your PCs, printer, etc at home.)

If you want to use DHCP addressing done by cisco router for your devices at home, then you would need to define an IP DHCP pool and specify

ip dhcp pool LAN
network 10.1.1.0 255.255.255.0
default-router 10.1.1.1
dns-server
 (DNS servers supplied by the ISP)


You will also need a default route (called last resort) toward your cablevision modem

ip route 0.0.0.0 0.0.0.0 FastEthernet0/0
See more at: https://supportforums.cisco.com/discussion/10799196/basic-cisco-2811-configuration#sthash.waMsQfgq.dpuf
question my cable modem i have static ip address a block of 5 . /29 can i use my static ip for fa0/0 and create inside ip addresses for fa0/1 and still create dhcp pool and access-list and nat inside ip address to fa0/1 ?. if so please show me a step by step on how to with static ip's thanks for the help.
Hi again,

Off course you can but it depend. Does your cablevision modem/router is setup as DHCP or as a bridge?

What happens is you connect your laptop directly to it? Does it give you a public ip in the range of 5 (then it is a bridge) or does it give you a dynamic ip (in that case it is using DHCP)

Lets pretend fa0/0 and fa0/1 are living on 2 planets but in the same galaxy. You can do whatever you like on both off them and they will not know about each others config. So fa0/0 can be static and fa0/1 can be dynamic, ACL-d, Natted, whatever.
ASKER CERTIFIED SOLUTION
Avatar of Benjamin Van Ditmars
Benjamin Van Ditmars
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial