You are on page 1of 8

IPv4 Addressing

Topology

IPv4 Addressing Table

Device/Interface IPv4 Address


PC01 IP: 192.168.1.10 /24
GW: 192.168.1.1
PC02 IP: 192.168.2.20 /24
GW: 192.168.2.1
RT-01 (F0/0) 192.168.1.1 /24
RT-01 (F0/1) 192.168.2.1 /24

Configure static IP address on PC#1 & PC#2


1. Via [Run] dialog box (Win Logo + R keys), type [ncpa.cpl] (without brackets).

2. Observe the unplugged interfaces before connecting the PC to the switch. Now connect the
network cable to the switch.

Once youve connected, one of the unplugged interfaces would lit up. Make note of this
interface as you would need to configure it.

Lecturer: Simon Htike South Metro TAFE 2016


Email: Simon.Htike@smtafe.wa.edu.au Page 1 of 8
IPv4 Addressing
3. Right-click on the connected interface and click [Properties].

4. Select [Use the following IP address] option and specify the IP address as shown in the
topology (i.e. PC1: 192.168.1.10/24, PC2: 192.168.1.20/24).

5. Click [OK].
6. Repeat Step 1 on PC#2 to configure.
7. Once both PCs are configured, verify the connectivity by pinging from PC#1 (i.e. ping
192.168.2.20). Please advise your lecturer if its unsuccessful as you may need to add/enable
exception in Windows Firewall).

Lecturer: Simon Htike South Metro TAFE 2016


Email: Simon.Htike@smtafe.wa.edu.au Page 2 of 8
IPv4 Addressing
Assigning IPv4 address on Router interface
1. Via [PutTy], establish a console connection to SW#1.
2. Enter the global configuration mode (i.e. one interface or a range of interfaces).

Router > en
Router # conf t

3. Enter the interface configuration mode.

Router (config) # int F0/0


Remark: If you are using a router with Gigabit interface, you will need to replace the [F] with
[G] (i.e. Replace F0/0 with G0/0). If you are unsure of available interfaces, you can find out by
using [show ip interface brief] command in privileged mode (Router #).

4. Assign IPv4 address to the specified interface.

Router(config-if) # ip address 192.168.1.10 255.255.255.0

5. Bring up the interface.


Remark: By default, all of the interfaces are administratively shutdown.

Router(config-if) # no shut

6. Repeat Step 3 to configure F0/1. Make sure to use the provided IP address in the
table.

Lecturer: Simon Htike South Metro TAFE 2016


Email: Simon.Htike@smtafe.wa.edu.au Page 3 of 8
IPv4 Addressing
Verify interface status
1. Once youve configured, verify the interface status.

2. Bring up the detailed interface information.

3. Test the network connectivity by pinging.

Lecturer: Simon Htike South Metro TAFE 2016


Email: Simon.Htike@smtafe.wa.edu.au Page 4 of 8
IPv6 Addressing
Topology IPv6 SLAAC (Stateless Address Autoconfiguration)

IPv4 Addressing Table

Device/Interface IPv6 Address (via EUI-64)


RT-01 (F0/0) IPv6: 2001:db8:abba:1::/64 (eui-64)
RT-01 (F0/1) IPv6: 2001:db8:abba:2::/64 (eui-64)

Remark: 2001:db8 address space is reserved for documentation (RFC 3849). For more info,
https://tools.ietf.org/html/rfc3849

Assigning IPv6 address on Router interface


1. Via [PutTy], establish a console connection to SW#1.
2. Enter the global configuration mode (i.e. one interface or a range of interfaces).

Router > en
Router # conf t

3. Enter the interface configuration mode.

Router (config) # int F0/0


Remark: If you are using a router with Gigabit interface, you will need to replace the [F] with
[G] (i.e. Replace F0/0 with G0/0). If you are unsure of available interfaces, you can find out by
using [Show IPv6 interface brief] command in privileged mode (Router #).

4. Assign IPv6 address to the specified interface using EUI-64 to generate the last 64-
bit.

Router(config-if) # ipv6 addr 2001:db8:abba:1::/64 eui-64

-- or (to specify link-local address)


Router(config-if) # ipv6 addr fe80::1 link-local
5. Bring up the interface.
Remark: By default, all of the interfaces are administratively shutdown.

Router(config-if) # no shut

Lecturer: Simon Htike South Metro TAFE 2016


Email: Simon.Htike@smtafe.wa.edu.au Page 5 of 8
IPv6 Addressing
6. Repeat Step 3 to configure F0/1. Make sure to use the provided IP address in the
table.

7. Enable IPv6 unicast routing.

Router(config)# ipv6 unicast-routing

Verify interface status


1. Once youve configured, verify the interface status.

Both addresses (link-local and unicast) are generated via EUI-64. The link-local
address can be specified manually.

Enable IPv6 on PC01 & PC02


1. Via [Run] dialog box (Win Logo + R keys), type [ncpa.cpl] (without brackets).

2. Observe the unplugged interfaces before connecting the PC to the switch. Now connect the
network cable to the switch.

Lecturer: Simon Htike South Metro TAFE 2016


Email: Simon.Htike@smtafe.wa.edu.au Page 6 of 8
IPv6 Addressing

Once youve connected, one of the unplugged interfaces would lit up. Make note of this
interface as you would need to configure it.

3. Right-click on the connected interface and click [Properties].


4. Ensure [Internet Protocol Version 6 (TCP/IPv6) checkbox is ticked and click [Properties].

Lecturer: Simon Htike South Metro TAFE 2016


Email: Simon.Htike@smtafe.wa.edu.au Page 7 of 8
IPv6 Addressing
5. Ensure [Obtain an IPv6 address automatically] option is selected.

6. Click [OK].
7. Repeat Step 1 on PC#2 to configure.
8. Once both PCs are configured, verify if its automatically configured.

Lecturer: Simon Htike South Metro TAFE 2016


Email: Simon.Htike@smtafe.wa.edu.au Page 8 of 8

You might also like