6
Hands On Networking NAT and Load Balancing Ram P Rustagi, ISE Dept [email protected] Jnana Sagar, CSE Dept June 30, 2012

Hands On Networking NAT and Load Balancing Ram P Rustagi, ISE Dept [email protected] Jnana Sagar, CSE Dept June 30, 2012

Embed Size (px)

Citation preview

Page 1: Hands On Networking NAT and Load Balancing Ram P Rustagi, ISE Dept rprustagi@pes.edu Jnana Sagar, CSE Dept June 30, 2012

Hands On NetworkingNAT and Load Balancing

Ram P Rustagi, ISE [email protected]

Jnana Sagar, CSE DeptJune 30, 2012

Page 2: Hands On Networking NAT and Load Balancing Ram P Rustagi, ISE Dept rprustagi@pes.edu Jnana Sagar, CSE Dept June 30, 2012

2

Course contents

• General Networking Overview– Network config and tools/utilities

• Building (IPv4) routing networks• Studying ICMP • Using ARP to advantage• NAT and load balancing• Installing/configuring Network applications

– DHCP, DNS, Apache WS• Network security issues• Bandwidth Management, Queuing• Ipv6: Routing, working with IPv4 networks• Socket Programming• WiFi Access• Software Defined Network• Assessment, Feedback 2

Page 3: Hands On Networking NAT and Load Balancing Ram P Rustagi, ISE Dept rprustagi@pes.edu Jnana Sagar, CSE Dept June 30, 2012

3

NAT

• NAT– Setting up NAT/NAPT– DNAT vs SNAT– NAT with load balancing

• Load balancing techniques– WE-1

• NAT for outgoing access (SNAT)– WE-2

• NAT for incoming access (DNAT)– Opening firewall holes

– WE-3• NAT with load balancing

3

Page 4: Hands On Networking NAT and Load Balancing Ram P Rustagi, ISE Dept rprustagi@pes.edu Jnana Sagar, CSE Dept June 30, 2012

4

NAT

• WE-1: SNAT implementation– Ha sends data to Hb– R1 implements SNAT

• changes the source IP address to 172.16.2.1 from 172.16.1.1

4

Page 5: Hands On Networking NAT and Load Balancing Ram P Rustagi, ISE Dept rprustagi@pes.edu Jnana Sagar, CSE Dept June 30, 2012

5

NAT

• WE-2: DNAT– Used when server to be given public access is inside

NAT– R2 implements DNAT– Changes destination IP address

• E.g. 172.16.2.200 is changed to 172.16.3.201

5

Page 6: Hands On Networking NAT and Load Balancing Ram P Rustagi, ISE Dept rprustagi@pes.edu Jnana Sagar, CSE Dept June 30, 2012

6

NAT

• WE-3– Router R1 will do DNAT

• Sends packets to different servers as per Load balancing

• DNA consists of multiple destination ranges

6