Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@greccfw01 ~]# ./getinfo.sh network
- Collecting system information for Networking questions. May take a few minutes.
- uname...rpm...cat...getenforce...free...***
- *** Warning: lspci is not installed.
- ***
- *** Warning: lsusb is not installed.
- rpm...ifconfig...brctl...route...sysctl...ip...ip...cat...egrep...chkconfig...***
- ########################
- Results are in the file:
- * /tmp/basedata.2gXVFP *
- ########################
- To provide this information in support of a question on fora,
- mailing list, or IRC channel please post its contents to
- http://pastebin.org/
- or another similar public site of your choice.
- Select a retention time longer than the default of 'a day'
- and provide a link to the information in your post.
- Alternatively, post in-line, trimming to remove any unnecessary information
- for your topic. For forum posts, please leave in the
- [code] ... [/code] tags to preserve formatting.
- WARNING - Check the contents of the /tmp/basedata.2gXVFP file to ensure it does
- not contain any sensitive information such as public IP addresses or hostnames.
- If necessary obfuscate such information before posting. For example:
- 146.xxx.xxx.41 or myhost.mydomain.net
- [root@greccfw01 ~]# cat /tmp/basedata.2gXVFP
- Information for networking problems.
- [code]
- == BEGIN uname -rmi ==
- 2.6.32-431.3.1.el6.x86_64 x86_64 x86_64
- == END uname -rmi ==
- == BEGIN rpm -qa \*-release\* ==
- centos-release-6-5.el6.centos.11.2.x86_64
- epel-release-6-8.noarch
- == END rpm -qa \*-release\* ==
- == BEGIN cat /etc/redhat-release ==
- CentOS release 6.5 (Final)
- == END cat /etc/redhat-release ==
- == BEGIN getenforce ==
- Enforcing
- == END getenforce ==
- == BEGIN free -m ==
- total used free shared buffers cached
- Mem: 996 512 483 0 61 328
- -/+ buffers/cache: 123 872
- Swap: 999 0 999
- == END free -m ==
- == Warning: lspci is not installed ==
- == Warning: lsusb is not installed ==
- == BEGIN rpm -qa kmod\* kmdl\* ==
- == END rpm -qa kmod\* kmdl\* ==
- == BEGIN ifconfig -a ==
- br0 Link encap:Ethernet HWaddr 02:00:32:7E:00:0E
- inet addr:10.200.21.254 Bcast:10.200.21.255 Mask:255.255.255.0
- inet6 addr: fe80::32ff:fe7e:e/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:10470 errors:0 dropped:0 overruns:0 frame:0
- TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:1165766 (1.1 MiB) TX bytes:468 (468.0 b)
- eth0 Link encap:Ethernet HWaddr 02:00:00:D9:00:09
- inet addr:10.200.0.6 Bcast:10.200.0.255 Mask:255.255.255.0
- inet6 addr: fe80::ff:fed9:9/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:50421 errors:0 dropped:0 overruns:0 frame:0
- TX packets:30515 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:45685757 (43.5 MiB) TX bytes:4821437 (4.5 MiB)
- eth1 Link encap:Ethernet HWaddr 02:00:49:F4:00:0A
- inet addr:10.200.22.254 Bcast:10.200.22.255 Mask:255.255.255.0
- inet6 addr: fe80::49ff:fef4:a/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:3295 errors:0 dropped:0 overruns:0 frame:0
- TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:271677 (265.3 KiB) TX bytes:636 (636.0 b)
- eth2 Link encap:Ethernet HWaddr 02:00:32:7E:00:0E
- inet6 addr: fe80::32ff:fe7e:e/64 Scope:Link
- UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
- RX packets:9588 errors:0 dropped:0 overruns:0 frame:0
- TX packets:897 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:1259518 (1.2 MiB) TX bytes:53958 (52.6 KiB)
- eth3 Link encap:Ethernet HWaddr 02:00:17:15:00:21
- inet addr:10.200.20.254 Bcast:10.200.20.255 Mask:255.255.255.0
- inet6 addr: fe80::17ff:fe15:21/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:2361 errors:0 dropped:0 overruns:0 frame:0
- TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:250356 (244.4 KiB) TX bytes:636 (636.0 b)
- eth4 Link encap:Ethernet HWaddr 06:52:16:00:0A:23
- inet addr:10.250.0.1 Bcast:10.250.0.255 Mask:255.255.255.0
- inet6 addr: fe80::452:16ff:fe00:a23/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:14346 errors:0 dropped:0 overruns:0 frame:0
- TX packets:22125 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:2526104 (2.4 MiB) TX bytes:16890930 (16.1 MiB)
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:16436 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
- tap0 Link encap:Ethernet HWaddr B2:A4:01:E3:B1:B3
- inet6 addr: fe80::b0a4:1ff:fee3:b1b3/64 Scope:Link
- UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
- RX packets:888 errors:0 dropped:0 overruns:0 frame:0
- TX packets:3941 errors:0 dropped:6 overruns:0 carrier:0
- collisions:0 txqueuelen:100
- RX bytes:53404 (52.1 KiB) TX bytes:321992 (314.4 KiB)
- == END ifconfig -a ==
- == BEGIN brctl show ==
- bridge name bridge id STP enabled interfaces
- br0 8000.0200327e000e no eth2
- tap0
- == END brctl show ==
- == BEGIN route -n ==
- Kernel IP routing table
- Destination Gateway Genmask Flags Metric Ref Use Iface
- 10.200.22.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
- 10.200.21.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
- 10.200.20.0 0.0.0.0 255.255.255.0 U 0 0 0 eth3
- 10.200.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
- 10.250.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth4
- 169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
- 169.254.0.0 0.0.0.0 255.255.0.0 U 1003 0 0 eth1
- 169.254.0.0 0.0.0.0 255.255.0.0 U 1005 0 0 eth3
- 169.254.0.0 0.0.0.0 255.255.0.0 U 1006 0 0 eth4
- 0.0.0.0 10.200.0.1 0.0.0.0 UG 0 0 0 eth0
- == END route -n ==
- == BEGIN sysctl -a | grep .rp_filter ==
- net.ipv4.conf.all.rp_filter = 1
- net.ipv4.conf.all.arp_filter = 0
- net.ipv4.conf.default.rp_filter = 1
- net.ipv4.conf.default.arp_filter = 0
- net.ipv4.conf.lo.rp_filter = 1
- net.ipv4.conf.lo.arp_filter = 0
- net.ipv4.conf.eth0.rp_filter = 1
- net.ipv4.conf.eth0.arp_filter = 0
- net.ipv4.conf.eth1.rp_filter = 1
- net.ipv4.conf.eth1.arp_filter = 0
- net.ipv4.conf.eth2.rp_filter = 1
- net.ipv4.conf.eth2.arp_filter = 0
- net.ipv4.conf.eth3.rp_filter = 1
- net.ipv4.conf.eth3.arp_filter = 0
- net.ipv4.conf.eth4.rp_filter = 1
- net.ipv4.conf.eth4.arp_filter = 0
- net.ipv4.conf.tap0.rp_filter = 1
- net.ipv4.conf.tap0.arp_filter = 0
- net.ipv4.conf.br0.rp_filter = 1
- net.ipv4.conf.br0.arp_filter = 0
- == END sysctl -a | grep .rp_filter ==
- == BEGIN ip rule show ==
- 0: from all lookup local
- 32766: from all lookup main
- 32767: from all lookup default
- == END ip rule show ==
- == BEGIN ip route show ==
- 10.200.22.0/24 dev eth1 proto kernel scope link src 10.200.22.254
- 10.200.21.0/24 dev br0 proto kernel scope link src 10.200.21.254
- 10.200.20.0/24 dev eth3 proto kernel scope link src 10.200.20.254
- 10.200.0.0/24 dev eth0 proto kernel scope link src 10.200.0.6
- 10.250.0.0/24 dev eth4 proto kernel scope link src 10.250.0.1
- 169.254.0.0/16 dev eth0 scope link metric 1002
- 169.254.0.0/16 dev eth1 scope link metric 1003
- 169.254.0.0/16 dev eth3 scope link metric 1005
- 169.254.0.0/16 dev eth4 scope link metric 1006
- default via 10.200.0.1 dev eth0
- == END ip route show ==
- == BEGIN cat /etc/resolv.conf ==
- search amiab.int dmz.amiab.int mgmt.amiab.int dev.amiab.int prod.amiab.int uat.amiab.int audit.amiab.int
- nameserver 10.200.0.2
- == END cat /etc/resolv.conf ==
- == BEGIN egrep 'net|hosts' /etc/nsswitch.conf ==
- #hosts: db files nisplus nis dns
- hosts: files dns
- #networks: nisplus [NOTFOUND=return] files
- #netmasks: nisplus [NOTFOUND=return] files
- netmasks: files
- networks: files
- netgroup: nisplus
- == END egrep 'net|hosts' /etc/nsswitch.conf ==
- == BEGIN chkconfig --list | grep -Ei 'network|wpa' ==
- network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
- == END chkconfig --list | grep -Ei 'network|wpa' ==
- [/code]
- [root@greccfw01 ~]# cd /proc/sys/net/ipv4/conf
- [root@greccfw01 conf]# ls
- all br0 default eth0 eth1 eth2 eth3 eth4 lo tap0
- [root@greccfw01 conf]# cat all
- cat: all: Invalid argument
- [root@greccfw01 conf]# cat all/rp_filter
- 1
- [root@greccfw01 conf]# for int in all default lo eth0 eth1 eth2 eth3 eth4 tap0 br0; do echo 0 >/proc/sys/net/ipv4/conf/$int/rp_filter; done
- [root@greccfw01 conf]# ./getinfo.sh network
- -bash: ./getinfo.sh: No such file or directory
- [root@greccfw01 conf]# cd
- [root@greccfw01 ~]# ./getinfo.sh network
- Collecting system information for Networking questions. May take a few minutes.
- uname...rpm...cat...getenforce...free...***
- *** Warning: lspci is not installed.
- ***
- *** Warning: lsusb is not installed.
- rpm...ifconfig...brctl...route...sysctl...ip...ip...cat...egrep...chkconfig...***
- ########################
- Results are in the file:
- * /tmp/basedata.e41xPC *
- ########################
- To provide this information in support of a question on fora,
- mailing list, or IRC channel please post its contents to
- http://pastebin.org/
- or another similar public site of your choice.
- Select a retention time longer than the default of 'a day'
- and provide a link to the information in your post.
- Alternatively, post in-line, trimming to remove any unnecessary information
- for your topic. For forum posts, please leave in the
- [code] ... [/code] tags to preserve formatting.
- WARNING - Check the contents of the /tmp/basedata.e41xPC file to ensure it does
- not contain any sensitive information such as public IP addresses or hostnames.
- If necessary obfuscate such information before posting. For example:
- 146.xxx.xxx.41 or myhost.mydomain.net
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement