How to Enable Internet for Guest Virtual Machine using Datacard Tata Photon.

Similar documents
Changing the IP Address and Host Name

Domain Name System (DNS) Session-1: Fundamentals. Computers use IP addresses. Why do we need names? hosts.txt does not scale

Domain Name System (DNS) DNS Fundamentals. Computers use IP addresses. Why do we need names? hosts.txt does not scale. The old solution: HOSTS.

Implementing DNSSEC with DynDNS and GoDaddy

Domain Name System (DNS) Session-1: Fundamentals. Joe Abley AfNOG Workshop, AIS 2017, Nairobi

ECE 435 Network Engineering Lecture 7

CS615 - Aspects of System Administration

6.033 Computer System Engineering

CS615 - Aspects of System Administration

FortiNAC SRV Records on Production DNS

Local DNS Attack Lab. 1 Lab Overview. 2 Lab Environment. 2.1 Install and configure the DNS server. SEED Labs Local DNS Attack Lab 1

Oracle EXAM - 1Z Oracle Solaris 10 Network Administrator Certified Expert Exam. Buy Full Product.

Goal of this session

Testing IPv6 address records in the DNS root

Creating Your Virtual Data Center

Exam Questions 1Z0-880

Written examination in TDTS06 Computer Networks at 8 12

CS 3640: Introduction to Networks and Their Applications

Install Oracle RAC 12c R1 on Oracle Linux 6.4 using VirtualBox ) VirtualBox setup and Linux 6.4 Installation for Oracle RAC 12c R1

Crear un centro de datos virtual en AWS

Network Interface Installation. Varian, Inc. NMR Systems Pub. No , Rev. A1103

Endian Proxy / Firewall

Using a USB 3.0 Dual Gigabit Ethernet Bypass Adapter with VMware vsphere for VXOA

Infoblox Authenticated DHCP

Networking Notes. Common Internet Speeds. Online Speed Test myspeed.visualware.com

This time. Digging into. Networking. Protocols. Naming DNS & DHCP

Lab 6 Implementing DNSSEC

CS 3640: Introduction to Networks and Their Applications

Product Family: Networking Hardware Number: AN-NH-012

Domain Name System (DNS)

Deploy the ExtraHop Trace 6150 Appliance

Measuring DNS Vulnerabilities and DNSSEC Challenges from an Irish Perspective. SATIN Conference, NPL, London, 04 th April 2011

UNIBOX. Hotspot Management Application. Quick Start Guide

CIS 76 VLab Pod Setup

OPS535 Lab 5. Dynamic DNS. RFC 2136 Dynamic Updates in the Domain Name System (DNS UPDATE)

Information Network I: The Application Layer. Doudou Fall Internet Engineering Laboratory Nara Institute of Science and Technique

CS118 Discussion 1A, Week 3. Zengwen Yuan Dodd Hall 78, Friday 10:00 11:50 a.m.

Network problem determination: AIX tools for a system administrator: Part 1, The basics of network troubleshooting

Wowza Media Server Pro for Riverbed Steelhead. Installation Guide

Deploy the ExtraHop Explore 5100 Appliance

CPSC 441 COMPUTER COMMUNICATIONS MIDTERM EXAM SOLUTION

Installing MyDNS And The MyDNSConfig Control Panel On Fedora 8

Click on Close button to close Network Connection Details. You are back to the Local Area Connection Status window.

Naming. CS 475, Spring 2018 Concurrent & Distributed Systems. Slides by Luís Pina

LAB 1 HOW THE WEB WORKS

BIND-USERS and Other Debugging Experiences. Mark Andrews Internet Systems Consortium

CCNA Semester 1 labs. Part 2 of 2 Labs for chapters 8 11

DNS & Iodine. Christian Grothoff.

Decoder Firmware B1D-220-V AC User s Manual Decoder Firmware B1D-220-V AC User s Manual

Setting Up a Multihomed System

RSA and ECDSA. Geoff Huston APNIC. #apricot2017

WE POWER YOUR MOBILE WORLD ENUM INTEGRATION MANUAL

DNS & DHCP CONFIGURATION

Internet Engineering. DNS Message Format. Contents. Robert Elz.

Lab - Using Wireshark to Examine a UDP DNS Capture

Connect the PC and Log into the GUI

Lab - Using Wireshark to Examine a UDP DNS Capture

Connecting the DI-804V Broadband Router to your network

HP-UX Desktop Troubleshooting Guide. HP-UX Desktop Troubleshooting Guide

XE2000/XE3000 IP-PBX: Getting Started Guide Package Contents

AirLive RS Security Bandwidth Management. Quick Setup Guide

Attacks on DNS: Risks of Caching

ScopTEL TM IP PBX Software. DNS Server Configuration Wizard

ENUM Dialing on Cisco Expressway

Configuring Routes on the ACE

NXT Controller Manual IP Assignment in WAN Environments Application Note

Game100 Networking Lab 4. Part 1 (5.1.4) Using the Windows Calculator with Network Addresses

DNS Pharming Attack Lab

How to check the IP address of the PC. In case of Windows XP/ Windows Vista. In start menu Select Run Command. In case of Windows 7

DNS Configuration Guide. Open Telekom Cloud

pulsarvmlite v Installation and Usage

Command Manual Network Protocol. Table of Contents

Defeating DNS Amplification Attacks. UKNOF Manchester Central, UK January Ralf Weber Senior Infrastructure Architect

Preparation Test AAAA and EDNS0 support Share Your Results Results Reported Testing Period

MikroWall Hotspot Router and Firewall System

Deploy the ExtraHop Discover Appliance 1100

My Own Help On Unix Environment

Objectives. Upon completion you will be able to:

Networking Fundamentals Tom Brett

Computer Networks Lab

Cisco Expressway ENUM Dialing

Domain Name Service. DNS Overview. October 2009 Computer Networking 1

2017 DNSSEC KSK Rollover. DSSEC KSK Rollover

Instruction for Upgrade Solaris 7 to Solaris 8

Sirindhorn International Institute of Technology Thammasat University

Oversimplified DNS. ... or, even a rocket scientist can understand DNS. Step 1 - Verify WHOIS information

LAB 1 HOW THE WEB WORKS

page 1 Plain Old DNS WACREN, DNS/DNSSEC Regional Workshop Ouagadougou, October 2016

PLASMATRONICS SPSD-ENET BROWSER BASED INTERFACE USER GUIDE

edp 8.2 Info Sheet - Integrating the ediscovery Platform 8.2 & Enterprise Vault

Configuring a Palo Alto Firewall in AWS

Lab - Observing DNS Resolution

Applications & Application-Layer Protocols: The Domain Name System and Peerto-Peer

Is your DNS server up-to-date? Pieter Lexis Senior PowerDNS Engineer April 22 nd 2018

Deploy the ExtraHop Discover 3100, 6100, 8100, or 9100 Appliances

Worst Current Practice. Lutz Donnerhacke IKS GmbH

CTS2134 Introduction to Networking. Module : Troubleshooting

CompTIA Network+ Lab Series Network Concepts. Lab 3: TCP/IP Utilities

BSc. (Hons) Web Technologies. Examinations for 2017 / Semester 1

Chapter 5: Trouble shooting of a network

Transcription:

How to Enable Internet for Guest Virtual Machine using Datacard Tata Photon. Table of Contents 1) Host, Guest and VBox version.... 2 2) Check your current Host and add 3 rd Adapter to Host windows... 3 3) Now let s start to configure to enable Internet in Guest Solaris.... 6 (a) Add 3 rd Network adapter to Guest Solaris VM and attach to Host-only Adapter as below.... 6 (b) Start the Guest VM Solaris and login with putty to check the newly added Network interface (e1000g2)... 7 4) Configure New IP (192.168.137.10) for Guest Solaris for 3 rd added network interface (e1000g2)... 8 (a) Create a file for new interface (e1000g2) as below, so that IP persist the reboot.... 9 (b) Add the new IP details to /etc/host and name as oratata or (any name)... 9 (c) Add the new net mask to /etc/netmasks file... 9 (d) Add the 3 rd Adapter IP as Default Gateway details to /etc/defaultrouter... 10 (e) add the 3 rd Adapter IP as DNS server or your ISPs DNS server details to /etc/resolv.conf... 10 (f) Add dns keyword after files keyword to /etc/nsswitch.conf... 10 (g) Shutdown the Guest VM Solaris and start again.... 10 (h) Test DNS using dig, if website is responding with provided address/url.... 11 (i) Now open the www.google.com site from Browser.... 12 1 P a g e

1) Host, Guest and VBox version. Host: Windows 7 32 Bit Virtual Box: 4.2.18 r88780 Guest: Solaris 10 2 P a g e

2) Check your current Host and add 3 rd Adapter to Host windows Check existing adapters and Internet / Tata Photon Network IP ================================================== Add one more Host Only Network Adapter to windows: From Virtual Box Manager click File -> Preferences Menu. 3 P a g e

Click add button to add 3 rd Host Only Network Adapter to windows as shown below. 3 rd Host Only Network Adapter is added as shown below. Verify from DOS prompt if the 3 rd Adapter is added. 4 P a g e

Now Let s Share the Tata Photon Network with 3 rd added Adapter. In Windows, Go to -> Control Panel->Network and Internet-> Network and Sharing Centre -> On Left hand side click on Change adapter settings. OR Start -> Run -> type ncpa.cpl -> OK Right click on Tata Indicom -> Click Properties as below Click on sharing tab and select the 3 rd network adapter from drop down as Highlighted below. Also select checkbox allow other network Click on OK above as shown above. 5 P a g e

As above it is asking to change the IP address for 3 rd Adapter i.e. 192.168.137.1 Once you click on Yes as shown above, you will see one more dialog box as below as Internet was ON, and then click OK. Verify the changed IP address for 3 rd adapter from DOS command prompt => ipconfig Now Disconnect the Tata photon and connect again. 3) Now let s start to configure to enable Internet in Guest Solaris. (a) Add 3 rd Network adapter to Guest Solaris VM and attach to Host-only Adapter as below. 6 P a g e

Click on your Solaris Guest VM machine and then click on network as below Change the options as per highlighted/shown below. (b) Start the Guest VM Solaris and login with putty to check the newly added Network interface (e1000g2) 7 P a g e

4) Configure New IP (192.168.137.10) for Guest Solaris for 3 rd added network interface (e1000g2) dladm show-link e1000g0 type: non-vlan mtu: 1500 device: e1000g0 e1000g1 type: non-vlan mtu: 1500 device: e1000g1 e1000g2 type: non-vlan mtu: 1500 device: e1000g2 dladm show-dev e1000g0 link: up speed: 1000 Mbps duplex: full e1000g1 link: up speed: 1000 Mbps duplex: full e1000g2 link: unknown speed: 0 Mbps duplex: half Note: Make sure while configuring the new IP address (192.168.137.10) for interface e1000g2 address should be in the range of 192.168.137.1 which was provided to us while sharing the Tata photon with 3rd adapter. Our New IP for Guest Solaris would be 192.168.137.10. Execute below commands: ------------------------------ dladm show-dev ifconfig e1000g2 plumb up ifconfig e1000g2 ifconfig e1000g2 192.168.137.10 netmask 255.255.255.0 broadcast + up ifconfig e1000g2 8 P a g e

(a) Create a file for new interface (e1000g2) as below, so that IP persist the reboot. ls -ltr /etc/hostname.* -rw-r--r-- 1 root root 38 Oct 12 20:26 /etc/hostname.e1000g0 -rw-r--r-- 1 root root 36 Oct 12 23:44 /etc/hostname.e1000g1 cat /etc/hostname.e1000g0 (This is existing interface file) 192.168.56.2 netmask 255.255.255.0 New ==== vi /etc/hostname.e1000g2 192.168.137.10 netmask 255.255.255.0 cat /etc/hostname.e1000g2 192.168.137.10 netmask 255.255.255.0 -------------------------------------------------------------------------- (b) Add the new IP details to /etc/host and name as oratata or (any name) cat /etc/hosts Internet host table ::1 localhost 127.0.0.1 localhost 192.168.56.2 orasolaris1 loghost 192.168.0.103 oranet loghost 192.168.137.10 oratata -------------------------------------------------------------------------- (c) Add the new net mask to /etc/netmasks file vi /etc/netmasks The netmasks file associates Internet Protocol (IP) address masks with IP network numbers. network-number netmask The term network-number refers to a number obtained from the Internet Network Information Center. Both the network-number and the netmasks are specified in "decimal dot" notation, e.g: 128.32.0.0 255.255.255.0 192.168.56.0 255.255.255.0 192.168.0.0 255.255.255.0 192.168.137.0 255.255.255.0 -------------------------------------------------------------------------- 9 P a g e

(d) Add the 3 rd Adapter IP as Default Gateway details to /etc/defaultrouter Follow any one =============== vi /etc/defaultrouter 192.168.137.1 OR route -p add default 192.168.137.1 add net default: gateway 192.168.137.1 add persistent net default: gateway 192.168.137.1 route -p show persistent: route add default 192.168.137.1 -------------------------------------------------------------------------- (e) add the 3 rd Adapter IP as DNS server or your ISPs DNS server details to /etc/resolv.conf vi /etc/resolv.conf nameserver 192.168.137.1 cat /etc/resolv.conf nameserver 192.168.0.1 nameserver 192.168.137.1 -------------------------------------------------------------------------- (f) Add dns keyword after files keyword to /etc/nsswitch.conf cat /etc/nsswitch.conf grep hosts: "hosts:" and "services:" in this file are used only if the hosts: files vi /etc/nsswitch.conf. hosts: files dns. cat /etc/nsswitch.conf grep dns hosts: files dns (g) Shutdown the Guest VM Solaris and start again. init 0 10 P a g e

(h) Test DNS using dig, if website is responding with provided address/url. ping www.google.com www.google.com is alive dig www.google.com ; <<>> DiG 9.6.1-P3 <<>> www.google.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1800 ;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;www.google.com. IN A ;; ANSWER SECTION: www.google.com. 137 IN A 74.125.128.147 www.google.com. 137 IN A 74.125.128.103 www.google.com. 137 IN A 74.125.128.104 www.google.com. 137 IN A 74.125.128.99 www.google.com. 137 IN A 74.125.128.105 www.google.com. 137 IN A 74.125.128.106 ;; Query time: 93 msec ;; SERVER: 192.168.137.153(192.168.137.1) ;; WHEN: Sun Oct 13 16:32:07 2013 ;; MSG SIZE rcvd: 128 nslookup www.google.com Server: 192.168.137.1 Address: 192.168.137.153 Non-authoritative answer: Name: www.google.com Address: 74.125.128.99 Name: www.google.com Address: 74.125.128.103 Name: www.google.com Address: 74.125.128.105 Name: www.google.com Address: 74.125.128.106 Name: www.google.com Address: 74.125.128.147 Name: www.google.com Address: 74.125.128.104 ping www.yahoo.com www.yahoo.com is alive nslookup www.yahoo.com Server: 192.168.137.1 Address: 192.168.137.153 Non-authoritative answer: www.yahoo.com canonical name = fd-fp3.wg1.b.yahoo.com. fd-fp3.wg1.b.yahoo.com canonical name = ds-fp3.wg1.b.yahoo.com. ds-fp3.wg1.b.yahoo.com canonical name = ds-sg-fp3-lfb.wg1.b.yahoo.com. ds-sg-fp3-lfb.wg1.b.yahoo.com canonical name = ds-sg-fp3.wg1.b.yahoo.com. Name: ds-sg-fp3.wg1.b.yahoo.com Address: 106.10.139.246 11 P a g e

dig www.yahoo.com ; <<>> DiG 9.6.1-P3 <<>> www.yahoo.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2035 ;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;www.yahoo.com. IN A ;; ANSWER SECTION: www.yahoo.com. 116 IN CNAME fd-fp3.wg1.b.yahoo.com. fd-fp3.wg1.b.yahoo.com. 116 IN CNAME ds-fp3.wg1.b.yahoo.com. ds-fp3.wg1.b.yahoo.com. 55 IN CNAME ds-sg-fp3-lfb.wg1.b.yahoo.com. ds-sg-fp3-lfb.wg1.b.yahoo.com. 295 IN CNAME ds-sg-fp3.wg1.b.yahoo.com. ds-sg-fp3.wg1.b.yahoo.com. 53 IN A 106.10.139.246 ;; Query time: 527 msec ;; SERVER: 192.168.137.153(192.168.137.1) ;; WHEN: Sun Oct 13 16:34:08 2013 ;; MSG SIZE rcvd: 147 (i) Now open the www.google.com site from Browser. 12 P a g e

REF ==== http://kenfallon.com/dns-working-but-not-resolving/ $ ping www.google.com ping: unknown host www.google.com The point here is that dig bypasses the host file and goes directly to the dns servers, while ping will obey the Name Service Switch settings as defined in /etc/nsswitch.conf. The solution is simply to edit the file and add the word dns to the line ipnodes: files ipnodes: files dns 13 P a g e

Just For info ============== route -p show persistent: route add default 192.168.137.1 route -p delete default 192.168.137.1 delete net default: gateway 192.168.137.1 delete persistent net default: gateway 192.168.137.1 route -p show No persistent routes are defined 14 P a g e