SlideShare a Scribd company logo
Linux Networking Commands Copyright, 2002 © NTM Consulting Inc. TCP/IP  Lecture Series Professor Tom Mavroidis
Commands Reviewed Ifconfig dmesg netstat ping route traceroute nslookup arp dig
ifconfig ifconfig  is used to assign an address to a network interface and/or configure network interface parameters.  ifconfig  must be used at boot time to define the network address of each interface present on a machine; it may also be used at a later time to redefine an interface's address or other operating parameters.
ifconfig eth0  eth0  Link encap:Ethernet  HWaddr 00:04:AC:16:54:4C  inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0 inet6 addr: fe80::204:acff:fe16:544c/10 Scope:Link UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 RX packets:116242 errors:0 dropped:0 overruns:0 frame:0 TX packets:123380 errors:0 dropped:0 overruns:0 carrier:0 collisions:9052  RX bytes:39103579 (37.2 Mb)  TX bytes:106270739 (101.3 Mb)
When would you use ifconfig? To determine if an interface has been recognized and configured on a system  To initially assign an IP address to an interface to bring an interface up or down
What should you do if the interface isn’t found? This kind of problem usually appears on initial setup of a machine [root@localhost root]# ifconfig eth3 up eth3: unknown interface: No such device
See if the device has been found - use dmesg The command 'dmesg', which is used to print kernel messages, is very useful in determining if a piece of hardware has been found, and if so, what the system is referring to it as. Don’t forger to monitor the /var/log/messages file for any strange activity.  TIP  pipe the dmesg to the less command or the reply will scroll off the screen dmesg | less
Before you have a useable interface  Determine if you can ping the localhost ping localhost or ping 127.0.0.1
Does the localhost respond? [root@localhost root]# ping localhost PING localhost.localdomain (127.0.0.1) from 127.0.0.1 : 56(84) bytes of data. 64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=0 ttl=255 time=1.968 msec 64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=255 time=113 usec 64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=2 ttl=255 time=178 usec 64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=3 ttl=255 time=116 usec
Confirm you have set up the interface correctly. ping the address returned by the ifconfig command “Ping 192.168.2.1” eth0  Link encap:Ethernet  HWaddr 00:04:AC:16:54:4C  inet addr: 192.168.2.1   Bcast:192.168.2.255  Mask:255.255.255.0 inet6 addr: fe80::204:acff:fe16:544c/10 Scope:Link UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 RX packets:116242 errors:0 dropped:0 overruns:0 frame:0 TX packets:123380 errors:0 dropped:0 overruns:0 carrier:0 collisions:9052  RX bytes:39103579 (37.2 Mb)  TX bytes:106270739 (101.3 Mb)
ping System administration command. Confirm that a remote host is online and responding.  ping  is intended for use in network testing, measurement, and management. Because of the load it can impose on the network, it is unwise to use  ping  during normal operations or from automated scripts.
route Gateways route data between networks All devices make routing decisions local network? Deliver to destination remote network? Forward to local gateway
route -n -n prevents route from converting IP addresses to hostnames the 0.0.0.0 entry is the default gateway  [root@localhost root]# route -n Kernel IP routing table Destination  Gateway  Genmask  Flags Metric Ref  Use Iface 192.168.2.0  0.0.0.0  255.255.255.0  U  0  0  0 eth0 192.168.1.0  0.0.0.0  255.255.255.0  U  0  0  0 eth1 127.0.0.0  0.0.0.0  255.0.0.0  U  0  0  0 lo 0.0.0.0  192.168.1.1  0.0.0.0  UG  0  0  0 eth1
route -Cn (display cache table) [root@localhost root]# route -Cn Kernel IP routing cache Source  Destination  Gateway  Flags Metric Ref  Use Iface 192.168.1.101  192.168.1.55  192.168.1.55  il  0  0  65 lo 192.168.2.1  192.168.2.75  192.168.2.75  0  1  0 eth0 192.168.1.55  192.175.48.42  192.168.1.1  0  0  0 eth1 192.168.1.55  192.168.1.101  192.168.1.101  0  0  1 eth1 192.168.1.55  192.168.1.101  192.168.1.101  0  1  0 eth1 127.0.0.1  127.0.0.1  127.0.0.1  l  0  0  3 lo 192.168.1.101  192.168.1.255  192.168.1.255  ibl  0  0  4 lo 127.0.0.1  127.0.0.1  127.0.0.1  l  0  0  1 lo
traceroute Trace route taken by packets to reach network host.  traceroute  attempts tracing by launching UDP probe packets with a small TTL (time to live), then listening for an ICMP "time exceeded" reply from a gateway.  host  is the destination hostname or the IP number of host to reach.  packetsize  is the packet size in bytes of the probe datagram. Default is 38 bytes. Note  Traceroute has lost some of  its effectiveness since most  ISP’s disallow it from  running on their networks
nslookup Query Internet domain name servers.  nslookup  has two modes: interactive and noninteractive. Interactive mode allows the user to query name servers for information about various hosts and domains or to print a list of hosts in a domain. It is entered either when no arguments are given (default name server will be used) or when the first argument is a hyphen and the second argument is the hostname or Internet address of a name server. Noninteractive mode is used to print just the name and requested information for a host or domain. It is used when the name of the host to be looked up is given as the first argument. Any of the  keyword = value  pairs listed under the interactive  set  command can be used as an option on the command line by prefacing the keyword with a -. The optional second argument specifies a name server.
arp Physical networks have their own addressing scheme IP addresses are used to direct a datagram to a specific physical network
arp table arp maintains a table of translations between IP addresses and ethernet addresses [root@localhost root]# arp Address  HWtype  HWaddress  Flags Mask  Iface 192.168.1.1  ether  00:04:5A:DB:A1:C5  C  eth1 192.168.2.75  ether  00:10:E0:04:61:84  C  eth0 192.168.1.101  ether  00:09:B7:13:AA:13  C  eth1
/etc/hosts Setting the hosts file will resolve names to addresses [root@localhost root]# less /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1  localhost.localdomain  localhost 192.168.1.1  gatewayout.tcp-ip.ca 192.168.2.75  basement.tcp-ip.ca 192.168.1.101  just_a_node.tcp-ip.ca
arp -a will then resolve Instead of just names, you also get IP addresses [root@localhost root]# arp -a gatewayout.tcp-ip.ca (192.168.1.1) at 00:04:5A:DB:A1:C5 [ether] on eth1 basement.tcp-ip.ca (192.168.2.75) at 00:10:E0:04:61:84 [ether] on eth0 just_a_node.tcp-ip.ca (192.168.1.101) at 00:09:B7:13:AA:13 [ether] on eth1
netstat The netstat command symbolically displays the contents of various net- work-related data structures. There are a number of output formats, de- pending on the options for the information presented. The first form of the command displays a list of active sockets for each protocol. The second form presents the contents of one of the other network data struc- tures according to the option selected. Using the third form, with a wait interval specified, netstat will continuously display the informa- tion regarding packet traffic on the configured network interfaces. The fourth form displays statistics about the named protocol.
netstat -nr [root@localhost root]# netstat -nr Kernel IP routing table Destination  Gateway  Genmask  Flags  MSS Window  irtt Iface 192.168.2.0  0.0.0.0  255.255.255.0  U  40 0  0 eth0 192.168.1.0  0.0.0.0  255.255.255.0  U  40 0  0 eth1 127.0.0.0  0.0.0.0  255.0.0.0  U  40 0  0 lo 0.0.0.0  192.168.1.1  0.0.0.0  UG  40 0  0 eth1
dig - supercharged nslookup oroot@localhost root]# dig cs.senecac.on.ca ; <<>> DiG 9.1.3 <<>> cs.senecac.on.ca ;; global options:  printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10483 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 6, ADDITIONAL: 4 ;; QUESTION SECTION: ;cs.senecac.on.ca.  IN  A ;; ANSWER SECTION: cs.senecac.on.ca.  86400  IN  A  142.204.57.48
dig - better than nslookup ;; AUTHORITY SECTION: senecac.on.ca.  86400  IN  NS  ns.onet.on.ca. senecac.on.ca.  86400  IN  NS  ns2.senecac.on.ca. senecac.on.ca.  86400  IN  NS  hades.senecac.on.ca. senecac.on.ca.  86400  IN  NS  ittads.senecac.on.ca. senecac.on.ca.  86400  IN  NS  pulsar.senecac.on.ca. senecac.on.ca.  86400  IN  NS  nsprime.senecac.on.ca. ;; ADDITIONAL SECTION: ns2.senecac.on.ca.  86400  IN  A  142.204.10.100 hades.senecac.on.ca.  86400  IN  A  142.204.57.15 ittads.senecac.on.ca.  86400  IN  A  142.204.6.57 pulsar.senecac.on.ca.  86400  IN  A  142.204.119.97 ;; Query time: 2202 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Sun Sep 29 16:38:20 2002 ;; MSG SIZE  rcvd: 238
References For detailed syntax on these and other linux commands look at  http://www. oreillynet .com/ linux / cmd /
Ad

More Related Content

What's hot (20)

Linux Basic Networking Command
Linux Basic Networking CommandLinux Basic Networking Command
Linux Basic Networking Command
Akhil Nadh PC
 
IPv4 Addressing
 IPv4 Addressing   IPv4 Addressing
IPv4 Addressing
TheGodfather HA
 
IP addressing seminar ppt
IP addressing seminar pptIP addressing seminar ppt
IP addressing seminar ppt
Smriti Rastogi
 
Linux systems - Linux Commands and Shell Scripting
Linux systems - Linux Commands and Shell ScriptingLinux systems - Linux Commands and Shell Scripting
Linux systems - Linux Commands and Shell Scripting
Emertxe Information Technologies Pvt Ltd
 
Basics of IP Addressing
Basics of IP AddressingBasics of IP Addressing
Basics of IP Addressing
Kushal Sheth
 
Ip address presentation
Ip address presentationIp address presentation
Ip address presentation
muhammad amir
 
Remote desktop connection
Remote desktop connectionRemote desktop connection
Remote desktop connection
Jasleen Kaur (Chandigarh University)
 
Filepermissions in linux
Filepermissions in linuxFilepermissions in linux
Filepermissions in linux
Subashini Pandiarajan
 
Linux Networking Explained
Linux Networking ExplainedLinux Networking Explained
Linux Networking Explained
Thomas Graf
 
Process management in linux
Process management in linuxProcess management in linux
Process management in linux
Mazenetsolution
 
Basic command ppt
Basic command pptBasic command ppt
Basic command ppt
Rohit Kumar
 
Ip address
Ip addressIp address
Ip address
Amandeep Kaur
 
Ip Addressing
Ip AddressingIp Addressing
Ip Addressing
vssnsarma
 
Network administration and Management
Network administration and ManagementNetwork administration and Management
Network administration and Management
Bry Cunal
 
Server configuration
Server configurationServer configuration
Server configuration
Aisha Talat
 
Networking in linux
Networking in linuxNetworking in linux
Networking in linux
Varnnit Jain
 
Network Address Translation (NAT)
Network Address Translation (NAT)Network Address Translation (NAT)
Network Address Translation (NAT)
Joud Khattab
 
Protocols and the TCP/IP Protocol Suite
Protocols and the TCP/IP Protocol SuiteProtocols and the TCP/IP Protocol Suite
Protocols and the TCP/IP Protocol Suite
Atharaw Deshmukh
 
Linux Administration
Linux AdministrationLinux Administration
Linux Administration
Harish1983
 
DHCP & DNS
DHCP & DNSDHCP & DNS
DHCP & DNS
NetProtocol Xpert
 

Viewers also liked (19)

RHCE FINAL Questions and Answers
RHCE FINAL Questions and AnswersRHCE FINAL Questions and Answers
RHCE FINAL Questions and Answers
Radien software
 
Linux Network commands
Linux Network commandsLinux Network commands
Linux Network commands
Hanan Nmr
 
Top 100 Linux Interview Questions and Answers 2014
Top 100 Linux Interview Questions and Answers 2014Top 100 Linux Interview Questions and Answers 2014
Top 100 Linux Interview Questions and Answers 2014
iimjobs and hirist
 
Redhat training &certification
Redhat training &certificationRedhat training &certification
Redhat training &certification
Ahmed Abbas Ahmed
 
Red Hat Enterprise Linux 7
Red Hat Enterprise Linux 7Red Hat Enterprise Linux 7
Red Hat Enterprise Linux 7
Mazenetsolution
 
Red hat enterprise linux 7 (rhel 7)
Red hat enterprise linux 7 (rhel 7)Red hat enterprise linux 7 (rhel 7)
Red hat enterprise linux 7 (rhel 7)
Ramola Dhande
 
Introduction to Red Hat
Introduction to Red HatIntroduction to Red Hat
Introduction to Red Hat
Albert Wong
 
Linux admin interview questions
Linux admin interview questionsLinux admin interview questions
Linux admin interview questions
Kavya Sri
 
Basic linux commands
Basic linux commandsBasic linux commands
Basic linux commands
Aniket Thakur
 
Linux networking commands
Linux networking commandsLinux networking commands
Linux networking commands
Sayed Ahmed
 
Network configuration
Network configurationNetwork configuration
Network configuration
engshemachi
 
Linux Network Administration (LPI-1,LPI-2)
Linux Network Administration (LPI-1,LPI-2)Linux Network Administration (LPI-1,LPI-2)
Linux Network Administration (LPI-1,LPI-2)
laonap166
 
Linux command ppt
Linux command pptLinux command ppt
Linux command ppt
kalyanineve
 
Steps to Submit an Application at Passport Seva Kendra
Steps to Submit an Application at Passport Seva KendraSteps to Submit an Application at Passport Seva Kendra
Steps to Submit an Application at Passport Seva Kendra
passportindia
 
Unix command-line tools
Unix command-line toolsUnix command-line tools
Unix command-line tools
Eric Wilson
 
How To Check The Indian Passport Status
How To Check The Indian Passport StatusHow To Check The Indian Passport Status
How To Check The Indian Passport Status
Alfred Samuel
 
Ephata 614
Ephata 614Ephata 614
Ephata 614
Vu Mai JMV
 
Dorchester
DorchesterDorchester
Dorchester
James Bauhs, CPIM, PMP
 
Renuncia de Felipe Bulnes - Agente Chileno en La Haya
Renuncia de Felipe Bulnes - Agente Chileno en La Haya Renuncia de Felipe Bulnes - Agente Chileno en La Haya
Renuncia de Felipe Bulnes - Agente Chileno en La Haya
Christian Pino Lanata
 
RHCE FINAL Questions and Answers
RHCE FINAL Questions and AnswersRHCE FINAL Questions and Answers
RHCE FINAL Questions and Answers
Radien software
 
Linux Network commands
Linux Network commandsLinux Network commands
Linux Network commands
Hanan Nmr
 
Top 100 Linux Interview Questions and Answers 2014
Top 100 Linux Interview Questions and Answers 2014Top 100 Linux Interview Questions and Answers 2014
Top 100 Linux Interview Questions and Answers 2014
iimjobs and hirist
 
Redhat training &certification
Redhat training &certificationRedhat training &certification
Redhat training &certification
Ahmed Abbas Ahmed
 
Red Hat Enterprise Linux 7
Red Hat Enterprise Linux 7Red Hat Enterprise Linux 7
Red Hat Enterprise Linux 7
Mazenetsolution
 
Red hat enterprise linux 7 (rhel 7)
Red hat enterprise linux 7 (rhel 7)Red hat enterprise linux 7 (rhel 7)
Red hat enterprise linux 7 (rhel 7)
Ramola Dhande
 
Introduction to Red Hat
Introduction to Red HatIntroduction to Red Hat
Introduction to Red Hat
Albert Wong
 
Linux admin interview questions
Linux admin interview questionsLinux admin interview questions
Linux admin interview questions
Kavya Sri
 
Basic linux commands
Basic linux commandsBasic linux commands
Basic linux commands
Aniket Thakur
 
Linux networking commands
Linux networking commandsLinux networking commands
Linux networking commands
Sayed Ahmed
 
Network configuration
Network configurationNetwork configuration
Network configuration
engshemachi
 
Linux Network Administration (LPI-1,LPI-2)
Linux Network Administration (LPI-1,LPI-2)Linux Network Administration (LPI-1,LPI-2)
Linux Network Administration (LPI-1,LPI-2)
laonap166
 
Linux command ppt
Linux command pptLinux command ppt
Linux command ppt
kalyanineve
 
Steps to Submit an Application at Passport Seva Kendra
Steps to Submit an Application at Passport Seva KendraSteps to Submit an Application at Passport Seva Kendra
Steps to Submit an Application at Passport Seva Kendra
passportindia
 
Unix command-line tools
Unix command-line toolsUnix command-line tools
Unix command-line tools
Eric Wilson
 
How To Check The Indian Passport Status
How To Check The Indian Passport StatusHow To Check The Indian Passport Status
How To Check The Indian Passport Status
Alfred Samuel
 
Renuncia de Felipe Bulnes - Agente Chileno en La Haya
Renuncia de Felipe Bulnes - Agente Chileno en La Haya Renuncia de Felipe Bulnes - Agente Chileno en La Haya
Renuncia de Felipe Bulnes - Agente Chileno en La Haya
Christian Pino Lanata
 
Ad

Similar to Linux Networking Commands (20)

dokumen.tips_linux-networking-commands.ppt
dokumen.tips_linux-networking-commands.pptdokumen.tips_linux-networking-commands.ppt
dokumen.tips_linux-networking-commands.ppt
ThorOdinson55
 
Konfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCP
Konfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCPKonfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCP
Konfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCP
Walid Umar
 
13048671.ppt
13048671.ppt13048671.ppt
13048671.ppt
LyVu51
 
Linux network tools (Maarten Blomme)
Linux network tools (Maarten Blomme)Linux network tools (Maarten Blomme)
Linux network tools (Maarten Blomme)
Avansa Mid- en Zuidwest
 
[오픈소스컨설팅] Linux Network Troubleshooting
[오픈소스컨설팅] Linux Network Troubleshooting[오픈소스컨설팅] Linux Network Troubleshooting
[오픈소스컨설팅] Linux Network Troubleshooting
Open Source Consulting
 
Linux networking
Linux networkingLinux networking
Linux networking
Arie Bregman
 
Handy Networking Tools and How to Use Them
Handy Networking Tools and How to Use ThemHandy Networking Tools and How to Use Them
Handy Networking Tools and How to Use Them
Sneha Inguva
 
Linux router
Linux routerLinux router
Linux router
Miguel E Arellano Quezada
 
Code Red Security
Code Red SecurityCode Red Security
Code Red Security
Amr Ali
 
Run Run Trema Test
Run Run Trema TestRun Run Trema Test
Run Run Trema Test
Hiroshi Ota
 
Student Name _________________________________ Date _____________SE.docx
Student Name _________________________________  Date _____________SE.docxStudent Name _________________________________  Date _____________SE.docx
Student Name _________________________________ Date _____________SE.docx
emelyvalg9
 
Command.pptx presentation
Command.pptx presentationCommand.pptx presentation
Command.pptx presentation
Akshay193557
 
linux networking laboratory presentation .pptx
linux networking laboratory presentation .pptxlinux networking laboratory presentation .pptx
linux networking laboratory presentation .pptx
AnuradhaJadiya1
 
1 SEC450 ACL Tutorial This document highlights.docx
1 SEC450 ACL Tutorial This document highlights.docx1 SEC450 ACL Tutorial This document highlights.docx
1 SEC450 ACL Tutorial This document highlights.docx
dorishigh
 
05 module managing your network enviornment
05  module managing your network enviornment05  module managing your network enviornment
05 module managing your network enviornment
Asif
 
Training Day Slides
Training Day SlidesTraining Day Slides
Training Day Slides
adam_merritt
 
All contents are Copyright © 1992–2012 Cisco Systems, Inc. A.docx
All contents are Copyright © 1992–2012 Cisco Systems, Inc. A.docxAll contents are Copyright © 1992–2012 Cisco Systems, Inc. A.docx
All contents are Copyright © 1992–2012 Cisco Systems, Inc. A.docx
galerussel59292
 
Arp Dan Ipconfig Syntax
Arp Dan Ipconfig  SyntaxArp Dan Ipconfig  Syntax
Arp Dan Ipconfig Syntax
guestcc37e8c
 
managing your network environment
managing your network environmentmanaging your network environment
managing your network environment
scooby_doo
 
Practice exam #2
Practice exam #2Practice exam #2
Practice exam #2
Kris Mofu
 
dokumen.tips_linux-networking-commands.ppt
dokumen.tips_linux-networking-commands.pptdokumen.tips_linux-networking-commands.ppt
dokumen.tips_linux-networking-commands.ppt
ThorOdinson55
 
Konfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCP
Konfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCPKonfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCP
Konfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCP
Walid Umar
 
13048671.ppt
13048671.ppt13048671.ppt
13048671.ppt
LyVu51
 
[오픈소스컨설팅] Linux Network Troubleshooting
[오픈소스컨설팅] Linux Network Troubleshooting[오픈소스컨설팅] Linux Network Troubleshooting
[오픈소스컨설팅] Linux Network Troubleshooting
Open Source Consulting
 
Handy Networking Tools and How to Use Them
Handy Networking Tools and How to Use ThemHandy Networking Tools and How to Use Them
Handy Networking Tools and How to Use Them
Sneha Inguva
 
Code Red Security
Code Red SecurityCode Red Security
Code Red Security
Amr Ali
 
Run Run Trema Test
Run Run Trema TestRun Run Trema Test
Run Run Trema Test
Hiroshi Ota
 
Student Name _________________________________ Date _____________SE.docx
Student Name _________________________________  Date _____________SE.docxStudent Name _________________________________  Date _____________SE.docx
Student Name _________________________________ Date _____________SE.docx
emelyvalg9
 
Command.pptx presentation
Command.pptx presentationCommand.pptx presentation
Command.pptx presentation
Akshay193557
 
linux networking laboratory presentation .pptx
linux networking laboratory presentation .pptxlinux networking laboratory presentation .pptx
linux networking laboratory presentation .pptx
AnuradhaJadiya1
 
1 SEC450 ACL Tutorial This document highlights.docx
1 SEC450 ACL Tutorial This document highlights.docx1 SEC450 ACL Tutorial This document highlights.docx
1 SEC450 ACL Tutorial This document highlights.docx
dorishigh
 
05 module managing your network enviornment
05  module managing your network enviornment05  module managing your network enviornment
05 module managing your network enviornment
Asif
 
Training Day Slides
Training Day SlidesTraining Day Slides
Training Day Slides
adam_merritt
 
All contents are Copyright © 1992–2012 Cisco Systems, Inc. A.docx
All contents are Copyright © 1992–2012 Cisco Systems, Inc. A.docxAll contents are Copyright © 1992–2012 Cisco Systems, Inc. A.docx
All contents are Copyright © 1992–2012 Cisco Systems, Inc. A.docx
galerussel59292
 
Arp Dan Ipconfig Syntax
Arp Dan Ipconfig  SyntaxArp Dan Ipconfig  Syntax
Arp Dan Ipconfig Syntax
guestcc37e8c
 
managing your network environment
managing your network environmentmanaging your network environment
managing your network environment
scooby_doo
 
Practice exam #2
Practice exam #2Practice exam #2
Practice exam #2
Kris Mofu
 
Ad

More from tmavroidis (18)

What Is Tcp Ip
What Is Tcp IpWhat Is Tcp Ip
What Is Tcp Ip
tmavroidis
 
Transport Layer
Transport LayerTransport Layer
Transport Layer
tmavroidis
 
Tcp Udp Icmp And The Transport Layer
Tcp Udp Icmp And The Transport LayerTcp Udp Icmp And The Transport Layer
Tcp Udp Icmp And The Transport Layer
tmavroidis
 
Splitting A Class C Network Into 4 Subnets
Splitting A Class C Network Into 4 SubnetsSplitting A Class C Network Into 4 Subnets
Splitting A Class C Network Into 4 Subnets
tmavroidis
 
Samba
SambaSamba
Samba
tmavroidis
 
Physical And Data Link Layers
Physical And Data Link LayersPhysical And Data Link Layers
Physical And Data Link Layers
tmavroidis
 
Nfs
NfsNfs
Nfs
tmavroidis
 
Network Basics
Network BasicsNetwork Basics
Network Basics
tmavroidis
 
Nad710 Network Address Translation
Nad710   Network Address TranslationNad710   Network Address Translation
Nad710 Network Address Translation
tmavroidis
 
Nad710 Introduction To Networks Using Linux
Nad710   Introduction To Networks Using LinuxNad710   Introduction To Networks Using Linux
Nad710 Introduction To Networks Using Linux
tmavroidis
 
Manchester Encoding
Manchester EncodingManchester Encoding
Manchester Encoding
tmavroidis
 
Ip Addressing Basics
Ip Addressing BasicsIp Addressing Basics
Ip Addressing Basics
tmavroidis
 
Introduction To Networks Using Linux
Introduction To Networks Using LinuxIntroduction To Networks Using Linux
Introduction To Networks Using Linux
tmavroidis
 
Introduction To Networks
Introduction To NetworksIntroduction To Networks
Introduction To Networks
tmavroidis
 
Dynamic Routing
Dynamic RoutingDynamic Routing
Dynamic Routing
tmavroidis
 
Dns
DnsDns
Dns
tmavroidis
 
About Connection Types
About Connection TypesAbout Connection Types
About Connection Types
tmavroidis
 
What Is A Carrier
What Is A CarrierWhat Is A Carrier
What Is A Carrier
tmavroidis
 
What Is Tcp Ip
What Is Tcp IpWhat Is Tcp Ip
What Is Tcp Ip
tmavroidis
 
Transport Layer
Transport LayerTransport Layer
Transport Layer
tmavroidis
 
Tcp Udp Icmp And The Transport Layer
Tcp Udp Icmp And The Transport LayerTcp Udp Icmp And The Transport Layer
Tcp Udp Icmp And The Transport Layer
tmavroidis
 
Splitting A Class C Network Into 4 Subnets
Splitting A Class C Network Into 4 SubnetsSplitting A Class C Network Into 4 Subnets
Splitting A Class C Network Into 4 Subnets
tmavroidis
 
Physical And Data Link Layers
Physical And Data Link LayersPhysical And Data Link Layers
Physical And Data Link Layers
tmavroidis
 
Network Basics
Network BasicsNetwork Basics
Network Basics
tmavroidis
 
Nad710 Network Address Translation
Nad710   Network Address TranslationNad710   Network Address Translation
Nad710 Network Address Translation
tmavroidis
 
Nad710 Introduction To Networks Using Linux
Nad710   Introduction To Networks Using LinuxNad710   Introduction To Networks Using Linux
Nad710 Introduction To Networks Using Linux
tmavroidis
 
Manchester Encoding
Manchester EncodingManchester Encoding
Manchester Encoding
tmavroidis
 
Ip Addressing Basics
Ip Addressing BasicsIp Addressing Basics
Ip Addressing Basics
tmavroidis
 
Introduction To Networks Using Linux
Introduction To Networks Using LinuxIntroduction To Networks Using Linux
Introduction To Networks Using Linux
tmavroidis
 
Introduction To Networks
Introduction To NetworksIntroduction To Networks
Introduction To Networks
tmavroidis
 
Dynamic Routing
Dynamic RoutingDynamic Routing
Dynamic Routing
tmavroidis
 
About Connection Types
About Connection TypesAbout Connection Types
About Connection Types
tmavroidis
 
What Is A Carrier
What Is A CarrierWhat Is A Carrier
What Is A Carrier
tmavroidis
 

Recently uploaded (20)

The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
SOFTTECHHUB
 
Artificial_Intelligence_in_Everyday_Life.pptx
Artificial_Intelligence_in_Everyday_Life.pptxArtificial_Intelligence_in_Everyday_Life.pptx
Artificial_Intelligence_in_Everyday_Life.pptx
03ANMOLCHAURASIYA
 
Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Everything You Need to Know About Agentforce? (Put AI Agents to Work)Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Cyntexa
 
Top-AI-Based-Tools-for-Game-Developers (1).pptx
Top-AI-Based-Tools-for-Game-Developers (1).pptxTop-AI-Based-Tools-for-Game-Developers (1).pptx
Top-AI-Based-Tools-for-Game-Developers (1).pptx
BR Softech
 
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Maarten Verwaest
 
AI Agents at Work: UiPath, Maestro & the Future of Documents
AI Agents at Work: UiPath, Maestro & the Future of DocumentsAI Agents at Work: UiPath, Maestro & the Future of Documents
AI Agents at Work: UiPath, Maestro & the Future of Documents
UiPathCommunity
 
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
James Anderson
 
AI-proof your career by Olivier Vroom and David WIlliamson
AI-proof your career by Olivier Vroom and David WIlliamsonAI-proof your career by Olivier Vroom and David WIlliamson
AI-proof your career by Olivier Vroom and David WIlliamson
UXPA Boston
 
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Markus Eisele
 
Dark Dynamism: drones, dark factories and deurbanization
Dark Dynamism: drones, dark factories and deurbanizationDark Dynamism: drones, dark factories and deurbanization
Dark Dynamism: drones, dark factories and deurbanization
Jakub Šimek
 
AI x Accessibility UXPA by Stew Smith and Olivier Vroom
AI x Accessibility UXPA by Stew Smith and Olivier VroomAI x Accessibility UXPA by Stew Smith and Olivier Vroom
AI x Accessibility UXPA by Stew Smith and Olivier Vroom
UXPA Boston
 
Agentic Automation - Delhi UiPath Community Meetup
Agentic Automation - Delhi UiPath Community MeetupAgentic Automation - Delhi UiPath Community Meetup
Agentic Automation - Delhi UiPath Community Meetup
Manoj Batra (1600 + Connections)
 
Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025
Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025
Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025
João Esperancinha
 
Building the Customer Identity Community, Together.pdf
Building the Customer Identity Community, Together.pdfBuilding the Customer Identity Community, Together.pdf
Building the Customer Identity Community, Together.pdf
Cheryl Hung
 
Unlocking Generative AI in your Web Apps
Unlocking Generative AI in your Web AppsUnlocking Generative AI in your Web Apps
Unlocking Generative AI in your Web Apps
Maximiliano Firtman
 
Kit-Works Team Study_아직도 Dockefile.pdf_김성호
Kit-Works Team Study_아직도 Dockefile.pdf_김성호Kit-Works Team Study_아직도 Dockefile.pdf_김성호
Kit-Works Team Study_아직도 Dockefile.pdf_김성호
Wonjun Hwang
 
Smart Investments Leveraging Agentic AI for Real Estate Success.pptx
Smart Investments Leveraging Agentic AI for Real Estate Success.pptxSmart Investments Leveraging Agentic AI for Real Estate Success.pptx
Smart Investments Leveraging Agentic AI for Real Estate Success.pptx
Seasia Infotech
 
DevOpsDays SLC - Platform Engineers are Product Managers.pptx
DevOpsDays SLC - Platform Engineers are Product Managers.pptxDevOpsDays SLC - Platform Engineers are Product Managers.pptx
DevOpsDays SLC - Platform Engineers are Product Managers.pptx
Justin Reock
 
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdfKit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Wonjun Hwang
 
Mastering Testing in the Modern F&B Landscape
Mastering Testing in the Modern F&B LandscapeMastering Testing in the Modern F&B Landscape
Mastering Testing in the Modern F&B Landscape
marketing943205
 
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
SOFTTECHHUB
 
Artificial_Intelligence_in_Everyday_Life.pptx
Artificial_Intelligence_in_Everyday_Life.pptxArtificial_Intelligence_in_Everyday_Life.pptx
Artificial_Intelligence_in_Everyday_Life.pptx
03ANMOLCHAURASIYA
 
Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Everything You Need to Know About Agentforce? (Put AI Agents to Work)Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Cyntexa
 
Top-AI-Based-Tools-for-Game-Developers (1).pptx
Top-AI-Based-Tools-for-Game-Developers (1).pptxTop-AI-Based-Tools-for-Game-Developers (1).pptx
Top-AI-Based-Tools-for-Game-Developers (1).pptx
BR Softech
 
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Maarten Verwaest
 
AI Agents at Work: UiPath, Maestro & the Future of Documents
AI Agents at Work: UiPath, Maestro & the Future of DocumentsAI Agents at Work: UiPath, Maestro & the Future of Documents
AI Agents at Work: UiPath, Maestro & the Future of Documents
UiPathCommunity
 
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
James Anderson
 
AI-proof your career by Olivier Vroom and David WIlliamson
AI-proof your career by Olivier Vroom and David WIlliamsonAI-proof your career by Olivier Vroom and David WIlliamson
AI-proof your career by Olivier Vroom and David WIlliamson
UXPA Boston
 
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Markus Eisele
 
Dark Dynamism: drones, dark factories and deurbanization
Dark Dynamism: drones, dark factories and deurbanizationDark Dynamism: drones, dark factories and deurbanization
Dark Dynamism: drones, dark factories and deurbanization
Jakub Šimek
 
AI x Accessibility UXPA by Stew Smith and Olivier Vroom
AI x Accessibility UXPA by Stew Smith and Olivier VroomAI x Accessibility UXPA by Stew Smith and Olivier Vroom
AI x Accessibility UXPA by Stew Smith and Olivier Vroom
UXPA Boston
 
Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025
Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025
Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025
João Esperancinha
 
Building the Customer Identity Community, Together.pdf
Building the Customer Identity Community, Together.pdfBuilding the Customer Identity Community, Together.pdf
Building the Customer Identity Community, Together.pdf
Cheryl Hung
 
Unlocking Generative AI in your Web Apps
Unlocking Generative AI in your Web AppsUnlocking Generative AI in your Web Apps
Unlocking Generative AI in your Web Apps
Maximiliano Firtman
 
Kit-Works Team Study_아직도 Dockefile.pdf_김성호
Kit-Works Team Study_아직도 Dockefile.pdf_김성호Kit-Works Team Study_아직도 Dockefile.pdf_김성호
Kit-Works Team Study_아직도 Dockefile.pdf_김성호
Wonjun Hwang
 
Smart Investments Leveraging Agentic AI for Real Estate Success.pptx
Smart Investments Leveraging Agentic AI for Real Estate Success.pptxSmart Investments Leveraging Agentic AI for Real Estate Success.pptx
Smart Investments Leveraging Agentic AI for Real Estate Success.pptx
Seasia Infotech
 
DevOpsDays SLC - Platform Engineers are Product Managers.pptx
DevOpsDays SLC - Platform Engineers are Product Managers.pptxDevOpsDays SLC - Platform Engineers are Product Managers.pptx
DevOpsDays SLC - Platform Engineers are Product Managers.pptx
Justin Reock
 
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdfKit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Wonjun Hwang
 
Mastering Testing in the Modern F&B Landscape
Mastering Testing in the Modern F&B LandscapeMastering Testing in the Modern F&B Landscape
Mastering Testing in the Modern F&B Landscape
marketing943205
 

Linux Networking Commands

  • 1. Linux Networking Commands Copyright, 2002 © NTM Consulting Inc. TCP/IP Lecture Series Professor Tom Mavroidis
  • 2. Commands Reviewed Ifconfig dmesg netstat ping route traceroute nslookup arp dig
  • 3. ifconfig ifconfig is used to assign an address to a network interface and/or configure network interface parameters. ifconfig must be used at boot time to define the network address of each interface present on a machine; it may also be used at a later time to redefine an interface's address or other operating parameters.
  • 4. ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:04:AC:16:54:4C inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0 inet6 addr: fe80::204:acff:fe16:544c/10 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:116242 errors:0 dropped:0 overruns:0 frame:0 TX packets:123380 errors:0 dropped:0 overruns:0 carrier:0 collisions:9052 RX bytes:39103579 (37.2 Mb) TX bytes:106270739 (101.3 Mb)
  • 5. When would you use ifconfig? To determine if an interface has been recognized and configured on a system To initially assign an IP address to an interface to bring an interface up or down
  • 6. What should you do if the interface isn’t found? This kind of problem usually appears on initial setup of a machine [root@localhost root]# ifconfig eth3 up eth3: unknown interface: No such device
  • 7. See if the device has been found - use dmesg The command 'dmesg', which is used to print kernel messages, is very useful in determining if a piece of hardware has been found, and if so, what the system is referring to it as. Don’t forger to monitor the /var/log/messages file for any strange activity. TIP pipe the dmesg to the less command or the reply will scroll off the screen dmesg | less
  • 8. Before you have a useable interface Determine if you can ping the localhost ping localhost or ping 127.0.0.1
  • 9. Does the localhost respond? [root@localhost root]# ping localhost PING localhost.localdomain (127.0.0.1) from 127.0.0.1 : 56(84) bytes of data. 64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=0 ttl=255 time=1.968 msec 64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=255 time=113 usec 64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=2 ttl=255 time=178 usec 64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=3 ttl=255 time=116 usec
  • 10. Confirm you have set up the interface correctly. ping the address returned by the ifconfig command “Ping 192.168.2.1” eth0 Link encap:Ethernet HWaddr 00:04:AC:16:54:4C inet addr: 192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0 inet6 addr: fe80::204:acff:fe16:544c/10 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:116242 errors:0 dropped:0 overruns:0 frame:0 TX packets:123380 errors:0 dropped:0 overruns:0 carrier:0 collisions:9052 RX bytes:39103579 (37.2 Mb) TX bytes:106270739 (101.3 Mb)
  • 11. ping System administration command. Confirm that a remote host is online and responding. ping is intended for use in network testing, measurement, and management. Because of the load it can impose on the network, it is unwise to use ping during normal operations or from automated scripts.
  • 12. route Gateways route data between networks All devices make routing decisions local network? Deliver to destination remote network? Forward to local gateway
  • 13. route -n -n prevents route from converting IP addresses to hostnames the 0.0.0.0 entry is the default gateway [root@localhost root]# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth1
  • 14. route -Cn (display cache table) [root@localhost root]# route -Cn Kernel IP routing cache Source Destination Gateway Flags Metric Ref Use Iface 192.168.1.101 192.168.1.55 192.168.1.55 il 0 0 65 lo 192.168.2.1 192.168.2.75 192.168.2.75 0 1 0 eth0 192.168.1.55 192.175.48.42 192.168.1.1 0 0 0 eth1 192.168.1.55 192.168.1.101 192.168.1.101 0 0 1 eth1 192.168.1.55 192.168.1.101 192.168.1.101 0 1 0 eth1 127.0.0.1 127.0.0.1 127.0.0.1 l 0 0 3 lo 192.168.1.101 192.168.1.255 192.168.1.255 ibl 0 0 4 lo 127.0.0.1 127.0.0.1 127.0.0.1 l 0 0 1 lo
  • 15. traceroute Trace route taken by packets to reach network host. traceroute attempts tracing by launching UDP probe packets with a small TTL (time to live), then listening for an ICMP &quot;time exceeded&quot; reply from a gateway. host is the destination hostname or the IP number of host to reach. packetsize is the packet size in bytes of the probe datagram. Default is 38 bytes. Note Traceroute has lost some of its effectiveness since most ISP’s disallow it from running on their networks
  • 16. nslookup Query Internet domain name servers. nslookup has two modes: interactive and noninteractive. Interactive mode allows the user to query name servers for information about various hosts and domains or to print a list of hosts in a domain. It is entered either when no arguments are given (default name server will be used) or when the first argument is a hyphen and the second argument is the hostname or Internet address of a name server. Noninteractive mode is used to print just the name and requested information for a host or domain. It is used when the name of the host to be looked up is given as the first argument. Any of the keyword = value pairs listed under the interactive set command can be used as an option on the command line by prefacing the keyword with a -. The optional second argument specifies a name server.
  • 17. arp Physical networks have their own addressing scheme IP addresses are used to direct a datagram to a specific physical network
  • 18. arp table arp maintains a table of translations between IP addresses and ethernet addresses [root@localhost root]# arp Address HWtype HWaddress Flags Mask Iface 192.168.1.1 ether 00:04:5A:DB:A1:C5 C eth1 192.168.2.75 ether 00:10:E0:04:61:84 C eth0 192.168.1.101 ether 00:09:B7:13:AA:13 C eth1
  • 19. /etc/hosts Setting the hosts file will resolve names to addresses [root@localhost root]# less /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost 192.168.1.1 gatewayout.tcp-ip.ca 192.168.2.75 basement.tcp-ip.ca 192.168.1.101 just_a_node.tcp-ip.ca
  • 20. arp -a will then resolve Instead of just names, you also get IP addresses [root@localhost root]# arp -a gatewayout.tcp-ip.ca (192.168.1.1) at 00:04:5A:DB:A1:C5 [ether] on eth1 basement.tcp-ip.ca (192.168.2.75) at 00:10:E0:04:61:84 [ether] on eth0 just_a_node.tcp-ip.ca (192.168.1.101) at 00:09:B7:13:AA:13 [ether] on eth1
  • 21. netstat The netstat command symbolically displays the contents of various net- work-related data structures. There are a number of output formats, de- pending on the options for the information presented. The first form of the command displays a list of active sockets for each protocol. The second form presents the contents of one of the other network data struc- tures according to the option selected. Using the third form, with a wait interval specified, netstat will continuously display the informa- tion regarding packet traffic on the configured network interfaces. The fourth form displays statistics about the named protocol.
  • 22. netstat -nr [root@localhost root]# netstat -nr Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.2.0 0.0.0.0 255.255.255.0 U 40 0 0 eth0 192.168.1.0 0.0.0.0 255.255.255.0 U 40 0 0 eth1 127.0.0.0 0.0.0.0 255.0.0.0 U 40 0 0 lo 0.0.0.0 192.168.1.1 0.0.0.0 UG 40 0 0 eth1
  • 23. dig - supercharged nslookup oroot@localhost root]# dig cs.senecac.on.ca ; <<>> DiG 9.1.3 <<>> cs.senecac.on.ca ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10483 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 6, ADDITIONAL: 4 ;; QUESTION SECTION: ;cs.senecac.on.ca. IN A ;; ANSWER SECTION: cs.senecac.on.ca. 86400 IN A 142.204.57.48
  • 24. dig - better than nslookup ;; AUTHORITY SECTION: senecac.on.ca. 86400 IN NS ns.onet.on.ca. senecac.on.ca. 86400 IN NS ns2.senecac.on.ca. senecac.on.ca. 86400 IN NS hades.senecac.on.ca. senecac.on.ca. 86400 IN NS ittads.senecac.on.ca. senecac.on.ca. 86400 IN NS pulsar.senecac.on.ca. senecac.on.ca. 86400 IN NS nsprime.senecac.on.ca. ;; ADDITIONAL SECTION: ns2.senecac.on.ca. 86400 IN A 142.204.10.100 hades.senecac.on.ca. 86400 IN A 142.204.57.15 ittads.senecac.on.ca. 86400 IN A 142.204.6.57 pulsar.senecac.on.ca. 86400 IN A 142.204.119.97 ;; Query time: 2202 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Sun Sep 29 16:38:20 2002 ;; MSG SIZE rcvd: 238
  • 25. References For detailed syntax on these and other linux commands look at http://www. oreillynet .com/ linux / cmd /
  翻译: