Re: Local Network Problem



Eberhard Roloff wrote:
Nils Kassube wrote:
[...]
dhenson@Mars-laptop:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:19:B9:76:09:3C
inet addr:192.168.1.53 Bcast:192.168.1.255

wlan0 Link encap:Ethernet HWaddr 00:19:7E:62:59:16
inet addr:192.168.1.53 Bcast:192.168.1.255
Don't use two interfaces with the same IP address. That can't work. Please
note: An IP address defines an interface, not a machine. Probably this is
the reason why your laptop can't talk to anybody.

exactly!
dhenson@Mars-laptop:~$ cat /etc/hosts
127.0.0.1 localhost
192.168.1.51 Earth-svr.site Earth-svr
192.168.1.52 Venus-ws.site Venus-ws
192.168.1.53 Mars-laptop.site Mars-laptop [.site] <--this you can delete for reasons of consitency
192.168.1.54 Mars-laptop-wlan.site Mars-laptop-wlan

(I am assuming that you will assign .54 to your Laptop wlan interface, now.
I am also assuming that you want to get to your laptop via wlan, as
well. If not, skip this last line)
The original install used DHCP but I am tryng to switch to static.


If you do not want to use dhcp at all (imho that would easily make your
mess disappear), then you might use THIS hosts file as a template that
you can copy to any machine on your network.

My Linksys router/switch has a firewall. I use that and my machines
have their firewalls turned off.
I don't see an entry for your router in any of your /etc/hosts files. You
should add a line

192.168.1.1 router.site router
This does not do any harm, but afaik it is not needed, since the default
gateway should be stored within your network interface configuration
(/etc/sysconfig/network/....).
to each of the files (I assume it has the address 192.168.1.1). Otherwise
you can't talk to the internet.

no, what benefit do you get from having a name instead of an ip address
of your router? Well, it is easier to ping, but this does not make your
connection to the internet work, if it did not work before, that is.

BTW: Why don't you want to use DHCP? It can make life so much easier. If
you just don't want to use the built-in DHCP server of the router you
could install a DHCP server e.g. on your Earth-svr machine.

well spoken!!! Imho you should think about it

Eberhard

IIRC, the problem was with setting up DNS. DHCP seems rather
straightforward. Is DNS difficult to set up?

Don Henson



--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: ip helper / dhcp / source address
    ... A.B.C.D' on a local interface would be. ... which the DHCP server is connected, and i need to be sure that the ... forwarded dhcp request will generate crytpo. ... router interface received that broadcast will be used as the source IP ...
    (comp.dcom.sys.cisco)
  • Re: ip helper / dhcp / source address
    ... A.B.C.D' on a local interface would be. ... i need to know this as the router is connected via an IPSEC VPN ... which the DHCP server is connected, and i need to be sure that the ... It should be the IP of the SVI that received the DHCP request. ...
    (comp.dcom.sys.cisco)
  • Re: Local Network Problem
    ... inet addr:192.168.1.53 Bcast:192.168.1.255 ... (I am assuming that you will assign .54 to your Laptop wlan interface, ... The original install used DHCP but I am tryng to switch to static. ... I don't see an entry for your router in any of your /etc/hosts files. ...
    (Ubuntu)
  • Re: Conflicting uses of "ip dhcp-server" -- design flaw?
    ... The DHCP process runs as a whole in the router/switch. ... assigned via the ip dhcp server command and the server is reachable via the ... routing table or directed connected interface and a the router/switch ... I can specify a helper-address, ...
    (comp.dcom.sys.cisco)
  • Re: ntpq no longer working -
    ... interface to the device, if you find the web interface doesn't get ... If your DHCP server was on your Linux box, ... Etherape isn't one I'm familiar with. ...
    (Fedora)