Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Gen'd by Script
- Contents of the NetWork config file /etc/network/interfaces
- auto lo
- iface lo inet loopback
- auto wlan0
- #iface wlan0 inet dhcp
- auto eth0
- iface eth0 inet static
- address 192.168.3.2
- gateway 192.168.3.1
- netmask 255.255.255.0
- network 192.168.3.0
- broadcast 192.168.3.255
- Contents of the DHCP config file /etc/dhcp3/dhcpd.conf
- # /etc/dhcp3/dhpcd.conf
- default-lease-time 600;
- max-lease-time 7200;
- option subnet-mask 255.255.255.0;
- option broadcast-address 192.168.3.255;
- option routers 192.168.3.2;
- option domain-name-servers 192.168.3.1, 204.232.137.207;
- option domain-name "tc-noc-server";
- log-facility local7;
- subnet 192.168.3.0 netmask 255.255.255.0 { range 192.168.3.10 192.168.3.200;}
- Contents of the sysctl.conf file /etc/sysctls.conf
- #
- # /etc/sysctl.conf - Configuration file for setting system variables
- # See /etc/sysctl.d/ for additional system variables.
- # See sysctl.conf (5) for information.
- #
- #kernel.domainname = example.com
- # Uncomment the following to stop low-level messages on console
- #kernel.printk = 4 4 1 7
- ##############################################################3
- # Functions previously found in netbase
- #
- # Uncomment the next two lines to enable Spoof protection (reverse-path filter)
- # Turn on Source Address Verification in all interfaces to
- # prevent some spoofing attacks
- #net.ipv4.conf.default.rp_filter=1
- #net.ipv4.conf.all.rp_filter=1
- # Uncomment the next line to enable TCP/IP SYN cookies
- #net.ipv4.tcp_syncookies=1
- # Uncomment the next line to enable packet forwarding for IPv4
- #net.ipv4.ip_forward=1
- # Uncomment the next line to enable packet forwarding for IPv6
- #net.ipv6.conf.all.forwarding=1
- ###################################################################
- # Additional settings - these settings can improve the network
- # security of the host and prevent against some network attacks
- # including spoofing attacks and man in the middle attacks through
- # redirection. Some network environments, however, require that these
- # settings are disabled so review and enable them as needed.
- #
- # Ignore ICMP broadcasts
- #net.ipv4.icmp_echo_ignore_broadcasts = 1
- #
- # Ignore bogus ICMP errors
- #net.ipv4.icmp_ignore_bogus_error_responses = 1
- #
- # Do not accept ICMP redirects (prevent MITM attacks)
- #net.ipv4.conf.all.accept_redirects = 0
- #net.ipv6.conf.all.accept_redirects = 0
- # _or_
- # Accept ICMP redirects only for gateways listed in our default
- # gateway list (enabled by default)
- # net.ipv4.conf.all.secure_redirects = 1
- #
- # Do not send ICMP redirects (we are not a router)
- #net.ipv4.conf.all.send_redirects = 0
- #
- # Do not accept IP source route packets (we are not a router)
- #net.ipv4.conf.all.accept_source_route = 0
- #net.ipv6.conf.all.accept_source_route = 0
- #
- # Log Martian Packets
- #net.ipv4.conf.all.log_martians = 1
- #disable ipv6
- net.ipv6.conf.all.disable_ipv6 = 1
- net.ipv6.conf.default.disable_ipv6 = 1
- net.ipv6.conf.lo.disable_ipv6 = 1
- # enable forwarding
- net.ipv4.conf.default.forwarding=1
- net.ipv4.conf.all.forwarding=1
- Contents of the hostname file /etc/hostname
- HOSTNAME=tc-noc-server
- #tc-noc-server
- Snap shot of the network settings from ifconfig
- eth0 Link encap:Ethernet HWaddr 00:07:e9:3d:c3:e8
- inet addr:192.168.3.2 Bcast:192.168.3.255 Mask:255.255.255.0
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:2458 errors:0 dropped:0 overruns:0 frame:0
- TX packets:734 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:268342 (268.3 KB) TX bytes:116479 (116.4 KB)
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- UP LOOPBACK RUNNING MTU:16436 Metric:1
- RX packets:20013 errors:0 dropped:0 overruns:0 frame:0
- TX packets:20013 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:1294742 (1.2 MB) TX bytes:1294742 (1.2 MB)
- wlan0 Link encap:Ethernet HWaddr 00:0f:3d:ad:c3:c8
- inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:2506 errors:0 dropped:0 overruns:0 frame:0
- TX packets:4121 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:855001 (855.0 KB) TX bytes:578704 (578.7 KB)
- wmaster0 Link encap:UNSPEC HWaddr 00-0F-3D-AD-C3-C8-00-00-00-00-00-00-00-00-00-00
- UP RUNNING MTU:0 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:1000
- RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement