Re: Weird Connection Problem



Grant <grantroelofs@xxxxxxxxx> writes:

Pascal Hambourg wrote:
Grant a écrit :

Can you tell me more about the netmask or point me somewhere where I
can get more information about this. I guess I'm not 100% sure how to
set this in Debian.

Print the contents of the network configuration file
/etc/network/interfaces (if needed, "man interfaces" will tell about the
syntax) and the output of the commands "ifconfig" (or "ip address") and
"route -n" (or "ip route").

Below is the output you requested:

/etc/network/interfaces

auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 69.129.59.207
netmask 255.0.0.0
gateway 69.129.59.205
pre-up iptables-restore < /etc/iptables.up.rules

You certainly should not hae that netmask. It should probably be
255.255.255.0. What your says is that all 2^24 addresses which start with
69 are part of your subnet, which I strongly doubt is true.




auto eth0


ip address:

1: lo: <LOOPBACK,UP,10000> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:1a:a0:31:24:74 brd ff:ff:ff:ff:ff:ff
inet 69.129.59.207/8 brd 69.255.255.255 scope global eth0
inet6 fe80::21a:a0ff:fe31:2474/64 scope link
valid_lft forever preferred_lft forever
3: sit0: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0



ip route:

69.0.0.0/8 dev eth0 proto kernel scope link src 69.129.59.207
default via 69.129.59.205 dev eth0

.



Relevant Pages

  • Re: Something strange with ip configuration
    ... iface lo inet loopback ... iface eth0 inet static ... valid_lft forever preferred_lft forever ... inet 169.254.125.207/16 scope link eth0 ...
    (Debian-User)
  • Re: Something strange with ip configuration
    ... iface lo inet loopback ... iface eth0 inet static ... valid_lft forever preferred_lft forever ... inet 169.254.125.207/16 scope link eth0 ...
    (Debian-User)
  • Re: Something strange with ip configuration
    ... iface lo inet loopback ... iface eth0 inet static ... valid_lft forever preferred_lft forever ... inet 169.254.125.207/16 scope link eth0 ...
    (Debian-User)
  • Something strange with ip configuration
    ... iface lo inet loopback ... iface eth0 inet static ... valid_lft forever preferred_lft forever ... inet 169.254.125.207/16 scope link eth0 ...
    (Debian-User)
  • Re: Ping and LAN Problem
    ... is still there for eth0, while the correct one should be ... 192.168.0.255, and the netmask 255.255.255.0, for the LAN connection ... UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ... inet addr:192.168.1.40 Bcast:192.168.1.255 ...
    (Ubuntu)