Displays all current TCP/IP network configuration values and refreshes Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS) settings. Used without parameters, ipconfig displays the IP address, subnet mask, and default gateway for all adapters.
Read more from Microsoft:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ipconfig.mspx?mfr=true
Or from Wikipedia:
http://en.wikipedia.org/wiki/Ipconfig
R3#configure terminalR3(config)#access-list 104 permit ip 10.0.0.128 0.0.0.127 anyR3(config)#ip nat inside source list 104 interface Serial0/0/0 overloadR3(config)#interface fastEthernet0/1R3(config-if)#ip access-group 104 inR3(config-if)#ip nat insideR3(config-if)#exitR3(config)#interface Serial0/0/0R3(config-if)#ip nat outsideR3(config-if)#exitR3(config)#interface Serial0/0/1R3(config-if)#ip nat outsideR3(config-if)#endWriting by vanhuuvt32bonphuonglanha@gmail.com
Router(config)# hostname AdminAdmin(config)# enable secret cangetinAdmin(config)# interface fa0/1Admin(config-if)#ip address 192.168.1.22 255.255.255.248Router(config)# hostname AdminAdmin(config)# enable password cangetinAdmin(config)# interface fa0/1Admin(config-if)# ip address 192.168.1.22 255.255.255.248Router(config)# hostname AdminAdmin(config)# enable secret cangetinAdmin(config)# interface fa0/0Admin(config-if)# ip address 192.168.1.22 255.255.255.248Router(config)# hostname AdminAdmin(config)# enable password cangetinAdmin(config)# interface fa0/0Admin(config-if)# ip address 192.168.1.22 255.255.255.248
You can't assign an ip to a switch but you can add one to the interfaces......... like: for the management vlan (or any other vlan) Switch(config)#int vlan 1 Switch(config-if)#ip address {your ip address} {mask} Switch(config-if)#no shutdown any other port Switch(config)#int <fa, G, S> <interface number i.e. 0/0> Switch(config-if)#ip address {your ip address} {mask} Switch(config-if)#no shutdown and for a default gateway Switch#conf t Switch(config)#ip default-gateway {ip address}
router (config)# ip dhcp servicerouter (dhcp-config)# ip dhcp pool router (dhcp-config)# network
Switch(config)# ip default-gateway 192.168.1.254Switch(config)# interface vlan 1Switch(config-if)# ip address 192.168.1.1 255.255.255.0Switch(config-if)# interface fa0/1Switch(config-if)# switchport access vlan 1
ALSwitch(config)# interface vlan1 ALSwitch(config-if)# ip address 192.168.10.2 255.255.255.0
You go to command and type in ip config you should see everything to do with your ip there
Router> enableRouter# config tRouter(config)# ip default route [IP address]
go to Start than click run than type command.com or cmd.than type config or config /all
It cancels only configurations settings, such as securuty, DHCP ip range, static ip settings and so on...
Router(config-if)#
A. router(config)#ip dhcp excluded-address 192.168.7.0 192.168.7.6 B.router(config)#ip dhcp excluded-address 192.168.7.121 192.168.7.127 C.router(config)#ip dhcp excluded-address 192.168.7.159 192.168.7.165 D.router(config)#ip dhcp excluded-address 192.168.7.193 192.168.7.198 Answer A: cannot provide network address to host(192.168.7.0) so answer A is incorrect. Answer B: address 192.168.7.127 is broadcast address so it cannot be given to a host. Answer C: is correct. IP address 192.168.7.159 falls in network 192.168.7.128 which is valid and .159-.165 gives you seven IP addresses. Answer D: IP address 192.168.7.193- 192.168.7.198 gives you six IP addresses and you need to exclude seven, so answer D is incorrect.