Networking

Art Alexion art.alexion at verizon.net
Tue Apr 17 13:59:02 UTC 2007


On Thursday 05 April 2007 17:23, Howard Coles Jr. wrote:
> On Thursday 05 April 2007 12:01:40 pm OOzy Pal wrote:
> > I need to setup my wireless router (ADSL). My Kubuntu can find two cards
> >
> > eth0 (Ethernet) and eth1 (Wireless)
> >
> > I need to disable eth0 and keep eth1 up and running for wireless. How
> > can I do this? Do I actually need to disable eth0 to work with eth1?
> >
> > BTW, no mater what I do in /etc/network/interfaces when I go to K
> > Menu>>System Settings >> Network Settings I see different parameters
> > and IP addresses. If I disable eth0 from there and restart the
> > computer, the eth0 is enabled again.
> >
> > Here is my /etc/network/interfaces file content
> >
> > auto lo
> > iface lo inet loopback
> > address 127.0.0.1
> > netmask 255.0.0.0
> >
> > ifdown eth0
> >
> > auto eth1
> > iface eth1 inet static
> > address 192.168.1.101
> > netmask 255.255.255.0
> > gateway 192.168.1.1
> > broadcast 192.168.1.255
> > wireless-essid BNet
> > wireless-key 17E9A39451


> Change "ifdown eth0" to "allowhotplug eth0" that way it'll just bypass it
> if no wire is plugged in, but it'll work fine if one is.
> Of course under the allow line add:
> iface eth0 inet dhcp
>
> To answer the other question, no you do not have to disable one to use the
> other, as a matter of fact you can have them both running at the same time.
> And, if you want to completely disable eth0 black list the module, or take
> any line referencing eth0 out of the interfaces file.

Sorry to hijack this thread, but my question relates and the people responding 
to this thread seem to understand the two-nic networking issues.

My current setup (I used to need this because I was using my Kubuntu machine 
as an internet router/firewall for the rest of the network)

eth0 -> lan -> wired to hub -> name resolution via /etc/hosts
eth1 -> internet -> wired to combo DSL modem/router/ hub -> name resolution 
via dhcp server on modem/router/hub

My current needs (to remove redundancy of the single purpose hub and use the 
combo modem/router/hub for both internet and lan traffic, and to thereby 
simplify the vmware client access to both networks)

The modem/router/hub allows me to turn off dhcp, but I don't see the reason to 
if I can change the kubuntu lan settings to use dhcp instead of /etc/hosts

Also, I must mention that the lan is all samba.  Two windows computers, a Mac, 
and this Kubuntu Dapper machine.  If I switch to dhcp for the local network, 
how will smb name resolution work?

-- 

_____________________________________________________________
Art Alexion

PGP fingerprint: 52A4 B10C AA73 096F A661  92D2 3B65 8EAC ACC5 BA7A
Keyserver: hkp://subkeys.pgp.net
The attachment - signature.asc - is my electronic signature; no need for 
alarm.  Info @ 
http://mysite.verizon.net/art.alexion/encryption/signature.asc.what.html
_____________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 309 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20070417/caccb588/attachment.sig>


More information about the kubuntu-users mailing list