Shlomo,
In your configuration, eth0 spans the whole 10.0.0.0/8 range, and eth0:1
has a range inside... this is not something recommanded. I wonder that it
even works. I guess your problem with the static setup was network mask.
All you have to do is staticaly config the machines exactly how they are
with dhcp, and shut down dhcp.
Dani
On Fri, 6 Jul 2007, Shlomo Solomon wrote:
I got the router and installation was "almost" painless - there's no free
lunch ;-)
I'm back on-line with excellent speed - so I guess the problem was the old
Alcatel Home.
The one small problem I had was that I always had static IP addresses on my
machines and after 3 or 4 attempts to set up the router without DHCP, I gave
up and went with the default. Adding DHCP on the other Linux machines was
trivial and even in WinXP not difficult.
BUT - I was now left with problematical /etc/host files on all the machines. I
could no longer ping shlomo1 or shoshana, etc, but only by the dynamic IP. I
solved that by adding a second IP address as follows:
ifconfig eth0:0 10.200.1.1 netmask 255.255.255.0 broadcast 10.200.1.255
route add -host 10.200.1.1 dev eth0
[EMAIL PROTECTED] solomon]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:E6:1E:5F:81
inet addr:10.0.0.1 Bcast:10.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::216:e6ff:fe1e:5f81/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9687335 errors:0 dropped:0 overruns:0 frame:0
TX packets:11381636 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3319938186 (3.0 GiB) TX bytes:2799449538 (2.6 GiB)
Interrupt:16 Base address:0x6000
eth0:0 Link encap:Ethernet HWaddr 00:16:E6:1E:5F:81
inet addr:10.200.1.1 Bcast:10.200.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:16 Base address:0x6000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:124080 errors:0 dropped:0 overruns:0 frame:0
TX packets:124080 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6927154 (6.6 MiB) TX bytes:6927154 (6.6 MiB)
I can now ping to the various hosts, but I'm still left with 2 problems:
1 - How do I make the second IP survive a re-boot (or is this not the proper
way to solve the problem in the first place?
2 - Even with the dual IP addresses, I can not mount nfs shares. For example,
on shoshana I have the following line in /etc/fstab:
shlomo1.solomon:/data3/share_all /home/shoshana/public nfs defaults 0 0
But when I try to mount /home/shoshana/public, I get "Permission denied"
BTW - I did see that the router allows you to reserve specific IPs according
to MAC addresses. Is this what I should be doing? If so, I could still have
my original IP addresses, but it seems to sort of defeat the whole purpose of
DHCP.
--
Shlomo Solomon
http://the-solomons.net
Sent by KMail (KDE 3.5.4) on LINUX Mandriva 2007
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]