Need fast help with Cisco871 router again

Answered Question
Apr 5th, 2007

Hi all


I need to configure my FastEthernet4 to a static ip adress(ISP). But I dunno how :(


Can some please help me, I've set the IP address, but need to set DNS and Gateway as well...


Info:

Ip: 195.49.39.89

subnet: 255.255.255.252

gateway: 195.49.39.88

dns: 193.162.164.134


Thanks in advance


Correct Answer by Craig Balfour about 9 years 10 months ago

You would configure this as follows:


conf t

ip nameserver 193.162.164.134

ip route 0.0.0.0 0.0.0.0 195.49.39.88

int fa4

ip address 195.49.39.89 255.255.255.252

end


The "ip nameserver" line sets the DNS server.

The "ip route" line sets the default gateway / route.

The IP address and network mask get configured on the interface itself using the "ip address" command.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Craig Balfour Thu, 04/05/2007 - 05:02

You would configure this as follows:


conf t

ip nameserver 193.162.164.134

ip route 0.0.0.0 0.0.0.0 195.49.39.88

int fa4

ip address 195.49.39.89 255.255.255.252

end


The "ip nameserver" line sets the DNS server.

The "ip route" line sets the default gateway / route.

The IP address and network mask get configured on the interface itself using the "ip address" command.

Actions

This Discussion