04-05-2007 01:11 AM - edited 03-03-2019 04:26 PM
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
Solved! Go to Solution.
04-05-2007 05:02 AM
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.
04-05-2007 05:02 AM
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.
04-05-2007 02:05 PM
Very nice it works :) Thanks alot
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