not authoritative for subnet 192.168.2.0
in /var/log/messages ,rejecting the connection ???
not authoritative for subnet 192.168.2.0
$ cat db.example.com $TTL 86400 ; (1 day) $ORIGIN example.com. @ IN SOA ns.example.com. admin.example.com. ( 2015042601 ; serial YYYYMMDDnn 14400 ; refresh (4 hours) 1800 ; retry (30 minutes) 1209600 ; expire (2 weeks) 3600 ) ; minimum (1 hour) @ IN NS ns.example.com. ns IN A 192.168.1.7 localhost IN A 127.0.0.1 sql IN A 192.168.1.100 ftp IN A 192.168.1.101
$ cat db.192.168.1 $TTL 86400 ; (1 day) $ORIGIN 1.168.192.in-addr.arpa. @ IN SOA ns.example.com. admin.example.com. ( 2015042601 ; serial YYYYMMDDnn 14400 ; refresh (4 hours) 1800 ; retry (30 minutes) 1209600 ; expire (2 weeks) 3600 ) ; minimum (1 hour) @ IN NS ns.example.com. 7 IN PTR ns.example.com. 100 IN PTR sql.example.com. 101 IN PTR ftp.example.com.
$ cat /etc/resolv.conf search example.com nameserver 192.168.1.7
$ nslookup linuxquestions.org Server: 192.168.1.7 Address: 192.168.1.7#53 Non-authoritative answer: Name: linuxquestions.org Address: 75.126.162.205 $ nslookup example.com Server: 192.168.1.7 Address: 192.168.1.7#53 *** Can't find example.com: No answer
$ nslookup example.com Server: 192.168.1.7 Address: 192.168.1.7#53 Non-authoritative answer: Name: example.com Address: 93.184.216.34
###################simplfied linux-kzy1:/var/lib/dhcp/db # cat /etc/dhcpd.conf authoritative; ddns-update-style none; ddns-updates off; #Information about the host subnet 192.168.10.0 netmask 255.255.255.0 { max-lease-time 600; default-lease-time 600; range 192.168.10.2 192.168.10.255; } group esx_gep{ filename "pxelinux.0"; next-server 192.168.10.1; host testserver1 {hardware ethernet a0:d3:c1:f7:f2:64;} }
**************var log message Mar 19 18:42:17 linux-kzy1 dhcpd: For info, please visit https://www.isc.org/software/dhcp/ Mar 19 18:42:17 linux-kzy1 dhcpd: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file Mar 19 18:42:17 linux-kzy1 dhcpd: Wrote 0 group decls to leases file. Mar 19 18:42:17 linux-kzy1 dhcpd: Wrote 0 deleted host decls to leases file. Mar 19 18:42:17 linux-kzy1 dhcpd: Wrote 0 new dynamic host decls to leases file. Mar 19 18:42:17 linux-kzy1 dhcpd: Wrote 0 leases to leases file. Mar 19 18:42:17 linux-kzy1 dhcpd: Listening on LPF/eth0/84:8f:69:cf:7c:41/192.168.10.0/24 Mar 19 18:42:17 linux-kzy1 dhcpd: Sending on LPF/eth0/84:8f:69:cf:7c:41/192.168.10.0/24 Mar 19 18:42:17 linux-kzy1 dhcpd: Sending on Socket/fallback/fallback-net Mar 19 18:42:17 linux-kzy1 dhcpd[12233]: Starting ISC DHCPv4 4.x Server [chroot]..done linux-kzy1:/home/test/Documents # *****************var log rc.dhcpd.log Mar 19 18:42:17 linux-kzy1 dhcpd: Internet Systems Consortium DHCP Server 4.2.2 Mar 19 18:42:17 linux-kzy1 dhcpd: Copyright 2004-2011 Internet Systems Consortium. Mar 19 18:42:17 linux-kzy1 dhcpd: All rights reserved. Mar 19 18:42:17 linux-kzy1 dhcpd: For info, please visit https://www.isc.org/software/dhcp/ Mar 19 18:42:17 linux-kzy1 dhcpd: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file Mar 19 18:42:17 linux-kzy1 dhcpd: Wrote 0 group decls to leases file. Mar 19 18:42:17 linux-kzy1 dhcpd: Wrote 0 deleted host decls to leases file. Mar 19 18:42:17 linux-kzy1 dhcpd: Wrote 0 new dynamic host decls to leases file. Mar 19 18:42:17 linux-kzy1 dhcpd: Wrote 0 leases to leases file. Mar 19 18:42:17 linux-kzy1 dhcpd: Listening on LPF/eth0/84:8f:69:cf:7c:41/192.168.10.0/24 Mar 19 18:42:17 linux-kzy1 dhcpd: Sending on LPF/eth0/84:8f:69:cf:7c:41/192.168.10.0/24 Mar 19 18:42:17 linux-kzy1 dhcpd: Sending on Socket/fallback/fallback-net Mar 19 18:42:17 linux-kzy1 dhcpd[12233]: Starting ISC DHCPv4 4.x Server [chroot]..done linux-kzy1:/home/test/Documents #
********** #no free lease linux-kzy1:/home/test/Documents # cat /var/log/messages | grep "free lease" Mar 19 15:53:59 linux-kzy1 dhcpd: DHCPDISCOVER from a0:d3:c1:f7:f2:64 via eth0: network 192.168.10.0/24: no free leases Mar 19 15:54:03 linux-kzy1 dhcpd: DHCPDISCOVER from a0:d3:c1:f7:f2:64 via eth0: network 192.168.10.0/24: no free leases Mar 19 15:54:11 linux-kzy1 dhcpd: DHCPDISCOVER from a0:d3:c1:f7:f2:64 via eth0: network 192.168.10.0/24: no free leases ...... Mar 19 17:01:06 linux-kzy1 dhcpd: DHCPDISCOVER from a0:d3:c1:f7:f2:64 via eth0: network 192.168.10.0/24: no free leases Mar 19 17:01:38 linux-kzy1 dhcpd: DHCPDISCOVER from a0:d3:c1:f7:f2:64 via eth0: network 192.168.10.0/24: no free leases linux-kzy1:/home/test/Documents #
send -s "\nread n_card?'Enter the network interface card number for this server (i.e. eth0): '\r
expect { -re $prompt { ;# Send individual commands and get user input set timeout -1 # Get partner hostname and put in vipsetup.txt file send -s "hostname > vipsetup.txt\r" expect -re $prompt # Display the network routing info for the user and prompt for # network interface card number send -s "print \"The network routing table for the $ptner server is displayed below:\n\" ; netstat -rn \r" expect -re "\r(.*):\r" send -s "\nread n_card?'Enter the network interface card number for this server (i.e. eth0): '\r" interact "\r" return ;# Wait for user input from read command send -- "\r" send -s "echo \$n_card >> vipsetup.txt\r" # Obtain subnet mask information for partner based on network # interface card number being used send -s "msk=\$(cat /etc/sysconfig/network-scripts/ifcfg-\$n_card | grep NETMASK)\r" send -s "msk=\$(echo \${msk#NETMASK=})\r" send -s "echo \$msk >> vipsetup.txt\r" } timeout { send_user "Connection to host $hostip timed out." exit 6 } eof { send_user "Connection to host $hostip failed." exit } }
The network routing table for the PRIMARY server is displayed below: Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 10.105.65.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 10.105.65.1 0.0.0.0 UG 0 0 0 eth0 [root@remotehost root]$ [root@remotehost root]$ ber for this server (i.e. eth0): ' < Enter the network interface card number for this server (i.e. eth0): eth0
[root@racnode1 ~]# iptables -L -v Chain INPUT (policy ACCEPT 77072 packets, 7890K bytes) pkts bytes target prot opt in out source destination Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Chain OUTPUT (policy ACCEPT 70306 packets, 129M bytes) pkts bytes target prot opt in out source destination [root@racnode1 ~]#
[root@racnode1 ~]# iptables -A INPUT -s 192.168.0.0/24 -j ACCEPT [root@racnode1 ~]# iptables -L -v Chain INPUT (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination 178 9055 ACCEPT all -- any any 192.168.0.0/24 anywhere Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Chain OUTPUT (policy ACCEPT 186 packets, 316K bytes) pkts bytes target prot opt in out source destination [root@racnode1 ~]#
[root@racnode1 ~]# iptables --policy INPUT DROP
./VMware-Player-6.0.1-1379776.x86_64.bundle
Failed to build vmnet. Failed to execute the build command.
Module vmnet not loaded
vmware-modconfig --console --install-all
make: Leaving directory `/tmp/modconfig-2NfFeS/vmnet-only' Unable to install all modules.
sudo ./file.sh
./file.sh
sudo chmod 777 ./file.sh
chmod 777
sudo chmod 777
#include "wavelet2d.h"
#include "wavelet2s.h"
gcc -L/home/mario/wavelet/wavelib/linuxstatic -lwavelet2s wavedemo1.cpp -o wavedemo1