You are on page 1of 24

FALL SEMESTER 2023-2024

NAME: Sadineni Tejaswi

REG.NO: 21BCE3037

Course Title: Computer Networks

Course Code: BCSE308P

Slot: L55+L66

EXPERIMENT NO : LAB ASSIGNMENT – 1

FACULTY NAME: Arivoli A


Network Configuration and
Troubleshooting commands

1) I) ifconfig (interface configurator)

II) ifconfig eth0


III) ifup eth0/ifdown eth0
2) PING
I)ping vit.ac.in

II)ping 10.10.2.15
3) TRACEROUTE
I)traceroute 10.0.2.15
4)NETSTAT

netstat -a|more
netstat -at

netstat -au
netstat -l
netstat -lt

netstat -lu
netstat -lx
netstat -s

netstat -st
netstat -su

netstat -tp
netstat -i

netstat -c
netstat -ap|grep http
netstat –statistics –raw
5)DIG
dig google.com

dig google.com +short


dig google.com MX

dig google.com SOA


dig google.com ANY +noall +answer

dig -x 10.0.2.15 +short


dig mx +noall +answer redhat.com +noall +answer
6) nslookup
7) route

route add -net 10.0.2.15 /24 gw 192.168.1.0


8)Host
host google.com
9)ARP
arp -e

10)Hostname command
hostname google.com
11) system-config-network

You might also like