Hi, I'm trying to setup a server, and I was able to make it work (the internet connection), but later I changed something (can`t remember what) and I lost the connection. I can ping my router, I can ping my internal IPs and host aliases, but when I ping something outside, the message "connect: Network is unreachable" is always present.
I know it must be something related with netmask or gateway, but can`t figure what's wrong. I've tried dmesg, /var/log/messages and ifconfig -a and everything seems to be fine. I guess it has something to do with bindconf, since I have to run my own DNS. I'm starting to get desperate.
What files would you like to see?
hosts:
127.0.0.1 ridda localhost.localdomain localhost
200.74.133.XXX ns1.mydomain.com ns1
200.74.133.XXX ns2.mydomain.com ns2
resolv.conf:
search mydomain.com attla.net.co
nameserver 127.0.0.1
nameserver 200.14.205.2 (that's my ISP DNS)
nameserver 200.74.133.153 (a reliable one)
/etc/sysconfig/network-scripts/ifcfg-eth0:
device="eth0"
bootproto="none"
IPADDR="200.74.133.XXX"
NETMASK="255.255.255.248"
NETWORK="200.74.133.XXX"
on boot= yes
A friend was curious about how the gateway could be different from my net IPs. Gateway is 200.24.73.201 and my Ips start on 200.74.133.XXX, so it's kind of weird, but connection with those specs works perfects under windows, and it worked fine with linux, until I messed up.
Let's see more files:
/etc/named.conf
zone "." {
type hint;
file "named.ca"
};
zone "0.0.127.in-addr.arpa" {
type master;
file "0.0.127.in-addr.arpa.zone"
};
zone "133.74.200.in-addr.arpa.zone" {
type master;
file "133.74.200.in-addr.arpa.zone"
};
zone "localhost" {
type master;
file "localhost.zone";
};
zone "setecsa.com" {
type master;
file "setecsa.com.zone";
};
And I guess you'd like to see 133.74.200.in-addr.arpa.zone:
$TTL 86400
@ IN SOA @ root.localhost (
2 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; ttk
)
@ IN NS ns1.
@ IN NS trinity.attla.net.co
XXX IN PTR ns1.setecsa.com
So.... please guys, help me?
Do you need any other files to see?
Thanks a million,
Rafael
I know it must be something related with netmask or gateway, but can`t figure what's wrong. I've tried dmesg, /var/log/messages and ifconfig -a and everything seems to be fine. I guess it has something to do with bindconf, since I have to run my own DNS. I'm starting to get desperate.
What files would you like to see?
hosts:
127.0.0.1 ridda localhost.localdomain localhost
200.74.133.XXX ns1.mydomain.com ns1
200.74.133.XXX ns2.mydomain.com ns2
resolv.conf:
search mydomain.com attla.net.co
nameserver 127.0.0.1
nameserver 200.14.205.2 (that's my ISP DNS)
nameserver 200.74.133.153 (a reliable one)
/etc/sysconfig/network-scripts/ifcfg-eth0:
device="eth0"
bootproto="none"
IPADDR="200.74.133.XXX"
NETMASK="255.255.255.248"
NETWORK="200.74.133.XXX"
on boot= yes
A friend was curious about how the gateway could be different from my net IPs. Gateway is 200.24.73.201 and my Ips start on 200.74.133.XXX, so it's kind of weird, but connection with those specs works perfects under windows, and it worked fine with linux, until I messed up.
Let's see more files:
/etc/named.conf
zone "." {
type hint;
file "named.ca"
};
zone "0.0.127.in-addr.arpa" {
type master;
file "0.0.127.in-addr.arpa.zone"
};
zone "133.74.200.in-addr.arpa.zone" {
type master;
file "133.74.200.in-addr.arpa.zone"
};
zone "localhost" {
type master;
file "localhost.zone";
};
zone "setecsa.com" {
type master;
file "setecsa.com.zone";
};
And I guess you'd like to see 133.74.200.in-addr.arpa.zone:
$TTL 86400
@ IN SOA @ root.localhost (
2 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; ttk
)
@ IN NS ns1.
@ IN NS trinity.attla.net.co
XXX IN PTR ns1.setecsa.com
So.... please guys, help me?
Do you need any other files to see?
Thanks a million,
Rafael