LCDproc development and user support list

Text archives Help


[Lcdproc] Re: [Leaf-devel] New Oxygen Development Image!


Chronological Thread 
  • From: n9ubh AT callsign.net (David Douthitt)
  • Subject: [Lcdproc] Re: [Leaf-devel] New Oxygen Development Image!
  • Date: Mon Oct 1 18:55:01 2001

"N. Sean Timm" wrote:

> Some more info...I did an "ip route" on my working March image and the
> non-working new image.
> ========================
> Old (working) route*:
> 192.168.1.1 dev eth1 scope link
> 123.45.67.90 dev eth0 scope link
> 123.45.67.88/29 dev eth0 proto kernel scope link src 123.45.67.90
> 192.168.1.0/24 dev eth1 proto kernel scope link src 192.168.1.1
> 127.0.0.0/8 dev lo scope link
> default via 123.45.67.89 dev eth0

You said you changed the IPs. This, unfortunately, affects the ability
to give good answers.

However, lets go through this...

Above you show 192.168.1.1 as one interface, and 123.45.67.90 as
another. I suspect that 123.45.67.90 is a totally different network
class than what you really used - which makes everything I say probably
irrelevant but... Here is what I get for data about these two addresses:

# ipmask 123.45.67.88
IP Address: 123.45.67.88
Official name: could not resolve 123.45.67.88
Network range: 123.0.0.1 - 123.255.255.254
Broadcast address: 123.255.255.255
Broadcast address (BSD): 123.0.0.0
CIDR: 123.0.0.0/8
Subnet mask: 255.0.0.0
Cisco wildcard mask: 0.255.255.255
Network: 123.0.0.0
Hexadecimal: 7B2D4358 (reversed: 58432D7B)

# ipmask 192.168.1.1
IP Address: 192.168.1.1
Official name: could not resolve 192.168.1.1
Network range: 192.168.1.1 - 192.168.1.254
Broadcast address: 192.168.1.255
Broadcast address (BSD): 192.168.1.0
CIDR: 192.168.1.0/24
Subnet mask: 255.255.255.0
Cisco wildcard mask: 0.0.0.255
Network: 192.168.1.0
Hexadecimal: C0A80101 (reversed: 0101A8C0)
#

If you are using 123.45.67.90 with a CIDR of /29, then this is
non-standard; that's alright, it just means that you have to specify it
in your network.conf.

> New (non-working) route*:
> 123.45.67.88 dev eth0 scope link
> 123.45.67.90 dev eth0 scope link

Unusual; eth0 assigned twice?

> 192.168.1.0 dev eth1 scope link
> 192.168.1.1 dev eth1 scope link

Twice? Also, 192.168.1.0 should be a broadcast address...

> 192.0.0.0/8 dev eth1 proto kernel scope link src 192.168.1.1

Looks okay...

> 127.0.0.0/8 dev lo scope link

Looks okay...

> 192.0.0.0/3 dev eth0 proto kernel scope link src 123.45.67.90

Totally bizarre!

> Default via 123.45.67.89 dev eth0

Looks okay...

> ========================
>
> Ipmask also appears to be returning a different number than my working
> image was setup with. When I do an "ip addr" on my working image, I get
> eth0 with inet 123.45.67.90/29. On the non-working image, I get eth0
> with inet 123.45.67.90/3.

Make sure you are using the correct ipmask; at one time, it was a
script. This program is much more robust, and handles a lot more. If
you get this (or close to it) you'll be alright:

# ipmask

ipmask version 0.31, Copyright (C) 2001 David Douthitt
<n9ubh AT callsign.net>

ipmask comes with ABSOLUTELY NO WARRANTY; for details see the COPYING
file
that accompained this distribution. This is free software, and you are
welcome
to redistribute it under the terms of GNU PUBLIC LICENSE.

Usage: ipmask [ -BbCcinrsxNmopR ] <ip> [ -m netmask ]

<ip> may be a hex IP address, dotted-quad (n.n.n.n), or a CIDR spec
(n.n.n.n/x)

Display Options:

-B Display only broadcast address (BSD - obsolete)
-b Display only broadcast address
-C Display only Cisco wildcard mask
-c Display only CIDR
-i Display only IP
-n Display only network address
-r Display only range of valid addresses
-s Display subnet mask only
-x Display only hexadecimal IP

Modifiers:

-N No name lookups
-m Use this net mask
-o Official name (do a name lookup)
-p Pretty formatted display of all results
-R Hexadecimal IP address is in reversed order

> I haven't done any custom tweaking of my routing path.

Are you using the standard subnet mask? With a CIDR of /29, it doesn't
sound like it...



  • [Lcdproc] Re: [Leaf-devel] New Oxygen Development Image!, David Douthitt, 10/01/2001

Archive powered by MHonArc 2.6.18.

Top of page