不卡AV在线|网页在线观看无码高清|亚洲国产亚洲国产|国产伦精品一区二区三区免费视频

學(xué)習(xí)啦 > 學(xué)習(xí)電腦 > 操作系統(tǒng) > Linux教程 > linux查看ip地址、顯示太網(wǎng)卡配置、網(wǎng)絡(luò)設(shè)備指令

linux查看ip地址、顯示太網(wǎng)卡配置、網(wǎng)絡(luò)設(shè)備指令

時(shí)間: 志藝942 分享

linux查看ip地址、顯示太網(wǎng)卡配置、網(wǎng)絡(luò)設(shè)備指令

  你還在為不知道linux查看ip地址、顯示太網(wǎng)卡配置、網(wǎng)絡(luò)設(shè)備指令而不知所措么?下面來(lái)是學(xué)習(xí)啦小編為大家收集的linux查看ip地址、顯示太網(wǎng)卡配置、網(wǎng)絡(luò)設(shè)備指令,歡迎大家閱讀:

  linux查看ip地址、顯示太網(wǎng)卡配置、網(wǎng)絡(luò)設(shè)備指令

  ifconfig eth0 顯示一個(gè)以太網(wǎng)卡的配置

  ifup eth0 啟用一個(gè) 'eth0' 網(wǎng)絡(luò)設(shè)備

  ifdown eth0 禁用一個(gè) 'eth0' 網(wǎng)絡(luò)設(shè)備

  ifconfig eth0 192.168.1.1 netmask 255.255.255.0 控制IP地址

  ifconfig eth0 promisc 設(shè)置 'eth0' 成混雜模式以嗅探數(shù)據(jù)包 (sniffing)

  dhclient eth0 以dhcp模式啟用 'eth0'

  route -n show routing table

  route add -net 0/0 gw IP_Gateway configura default gateway

  route add -net 192.168.0.0 netmask 255.255.0.0 gw 192.168.1.1 configure static route to reach network '192.168.0.0/16'

  route del 0/0 gw IP_gateway remove static route

  echo "1" > /proc/sys/net/ipv4/ip_forward activate ip routing

  hostname show hostname of system

  host www.example.com lookup hostname to resolve name to ip address and viceversa(1)

  nslookup www.example.com lookup hostname to resolve name to ip address and viceversa(2)

  ip link show show link status of all interfaces

  mii-tool eth0 show link status of 'eth0'

  ethtool eth0 show statistics of network card 'eth0'

  netstat -tup show all active network connections and their PID

  netstat -tupl show all network services listening on the system and their PID

  tcpdump tcp port 80 show all HTTP traffic

  iwlist scan show wireless networks

  iwconfig eth1 show configuration of a wireless network card

  hostname show hostname

  host www.example.com lookup hostname to resolve name to ip address and viceversa

  nslookup www.example.com lookup hostname to resolve name to ip address and viceversa

  whois www.example.com lookup on Whois database

  GO TOP INDEX ^

  Microsoft Windows networks (SAMBA)

  nbtscan ip_addr netbios name resolution

  nmblookup -A ip_addr netbios name resolution

  smbclient -L ip_addr/hostname show remote shares of a windows host

  smbget -Rr smb://ip_addr/share like wget can download files from a host windows via smb

  mount -t smbfs -o username=user,password=pass //WinClient/share /mnt/share mount a windows network share


看了“linux查看ip地址、顯示太網(wǎng)卡配置、網(wǎng)絡(luò)設(shè)備指令”還想看:
1.Linux系統(tǒng)怎么配置網(wǎng)絡(luò)IP地址

2.LINUX操作系統(tǒng)的IP地址如何配置

3.linux系統(tǒng)(ubuntu)怎么查看ip地址

4.Linux如何使用arping命令檢測(cè)IP地址沖突

2862999