Networking Forums

Networking Forums > Computer Networking > Linux Networking > Linux behind a DSL Linksys bluebox

Reply
Thread Tools Display Modes

Linux behind a DSL Linksys bluebox

 
 
Tom
Guest
Posts: n/a

 
      03-10-2005, 03:33 AM
I have several computers behind one of those Linksys
DSL Blue Boxes. This is a good way to set up a
business system on the interenet, because the blue
box is too simple to be hacked from the outside
world as I understand it.

Anyway I have Samba working on the network.
Using Samba the computers know each other by
name. But how does one give names to the Linux
computers behind the blue box? The blue box
uses dhcp to give the computers ip addresses but
that is it. You cannot specify which MAC address
gets which IP.

It seems like the solution to this problem should be
fairly trivial and also useful. Is there a solution out
there?



 
Reply With Quote
 
 
 
 
James Knott
Guest
Posts: n/a

 
      03-10-2005, 01:15 PM
Tom wrote:

> I have several computers behind one of those Linksys
> DSL Blue Boxes. This is a good way to set up a
> business system on the interenet, because the blue
> box is too simple to be hacked from the outside
> world as I understand it.
>
> Anyway I have Samba working on the network.
> Using Samba the computers know each other by
> name. But how does one give names to the Linux
> computers behind the blue box? The blue box
> uses dhcp to give the computers ip addresses but
> that is it. You cannot specify which MAC address
> gets which IP.
>
> It seems like the solution to this problem should be
> fairly trivial and also useful. Is there a solution out
> there?



You can use a hosts file in Linux, to map names to IP addresses. If you use
long lease times, your dhcp addresses will be virtually static. You can
also use static addresses, if you wish.

 
Reply With Quote
 
Google Mike
Guest
Posts: n/a

 
      03-11-2005, 10:21 PM
What if he sets the Linux workstation's DNS to this Linksys box? Does
the Linksys box serve up DNS services? Otherwise, yes, the /etc/hosts
file editing would be the trick.

 
Reply With Quote
 
Tom
Guest
Posts: n/a

 
      03-14-2005, 04:30 AM

"Google Mike" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com...
> What if he sets the Linux workstation's DNS to this Linksys box? Does
> the Linksys box serve up DNS services? Otherwise, yes, the /etc/hosts
> file editing would be the trick.
>


It is a hack though. I would like a more elegant solution. I don't
understand why there isn't one.


 
Reply With Quote
 
General Schvantzkoph
Guest
Posts: n/a

 
      03-15-2005, 05:05 PM
On Sun, 13 Mar 2005 23:30:50 -0600, Tom wrote:

>
> "Google Mike" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed) oups.com...
>> What if he sets the Linux workstation's DNS to this Linksys box? Does
>> the Linksys box serve up DNS services? Otherwise, yes, the /etc/hosts
>> file editing would be the trick.
>>

>
> It is a hack though. I would like a more elegant solution. I don't
> understand why there isn't one.


Why are you using DHCP? Use static IPs and put the names in /etc/hosts.

 
Reply With Quote
 
Tom
Guest
Posts: n/a

 
      03-17-2005, 04:48 AM

"General Schvantzkoph" <(E-Mail Removed)> wrote in message
news(E-Mail Removed)...
> On Sun, 13 Mar 2005 23:30:50 -0600, Tom wrote:
>
> >
> > "Google Mike" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed) oups.com...
> >> What if he sets the Linux workstation's DNS to this Linksys box? Does
> >> the Linksys box serve up DNS services? Otherwise, yes, the /etc/hosts
> >> file editing would be the trick.
> >>

> >
> > It is a hack though. I would like a more elegant solution. I don't
> > understand why there isn't one.

>
> Why are you using DHCP? Use static IPs and put the names in /etc/hosts.
>


If you had read the original post you
would know that:

I have several computers behind one of those Linksys
DSL Blue Boxes. This is a good way to set up a
business system on the interenet, because the blue
box is too simple to be hacked from the outside
world as I understand it.

Anyway I have Samba working on the network.
Using Samba the computers know each other by
name. But how does one give names to the Linux
computers behind the blue box? The blue box
uses dhcp to give the computers ip addresses but
that is it. You cannot specify which MAC address
gets which IP.

It seems like the solution to this problem should be
fairly trivial and also useful. Is there a solution out
there?







 
Reply With Quote
 
General Schvantzkoph
Guest
Posts: n/a

 
      03-17-2005, 04:09 PM
On Wed, 16 Mar 2005 23:48:35 -0600, Tom wrote:

>
> "General Schvantzkoph" <(E-Mail Removed)> wrote in message
> news(E-Mail Removed)...
>> On Sun, 13 Mar 2005 23:30:50 -0600, Tom wrote:
>>
>> >
>> > "Google Mike" <(E-Mail Removed)> wrote in message
>> > news:(E-Mail Removed) oups.com...
>> >> What if he sets the Linux workstation's DNS to this Linksys box? Does
>> >> the Linksys box serve up DNS services? Otherwise, yes, the /etc/hosts
>> >> file editing would be the trick.
>> >>
>> >
>> > It is a hack though. I would like a more elegant solution. I don't
>> > understand why there isn't one.

>>
>> Why are you using DHCP? Use static IPs and put the names in /etc/hosts.
>>

>
> If you had read the original post you
> would know that:
>
> I have several computers behind one of those Linksys
> DSL Blue Boxes. This is a good way to set up a
> business system on the interenet, because the blue
> box is too simple to be hacked from the outside
> world as I understand it.
>
> Anyway I have Samba working on the network.
> Using Samba the computers know each other by
> name. But how does one give names to the Linux
> computers behind the blue box? The blue box
> uses dhcp to give the computers ip addresses but
> that is it. You cannot specify which MAC address
> gets which IP.
>
> It seems like the solution to this problem should be
> fairly trivial and also useful. Is there a solution out
> there?


The Linksys box can limit DHCP to a specific range, IP addresses outside
of that range can be used for static IPs. Use static IPs on the Linux
boxes, there is no good reason to use DHCP.

 
Reply With Quote
 
Ed Skinner
Guest
Posts: n/a

 
      03-17-2005, 06:23 PM
On Tue, 15 Mar 2005 13:05:17 -0500, General Schvantzkoph wrote:
> Why are you using DHCP? Use static IPs and put the names in /etc/hosts.



That's what I do.
The firewall will hand out an IP (between .100 and .199) for any boxes
that ask for an IP but I have all my Linux boxes configured with IP
addresses in the .000 to .099 range, and defined in /etc/hosts on all the
machines. They never ask for an IP address from the firewall, and use IPs
outside the range assigned by the firewall.
Works great.
 
Reply With Quote
 
Ed Skinner
Guest
Posts: n/a

 
      03-18-2005, 12:10 AM
On Thu, 17 Mar 2005 12:23:09 -0700, Ed Skinner wrote:

> On Tue, 15 Mar 2005 13:05:17 -0500, General Schvantzkoph wrote:
>> Why are you using DHCP? Use static IPs and put the names in /etc/hosts.

>
>
> That's what I do.
> The firewall will hand out an IP (between .100 and .199) for any boxes
> that ask for an IP but I have all my Linux boxes configured with IP
> addresses in the .000 to .099 range, and defined in /etc/hosts on all the
> machines. They never ask for an IP address from the firewall, and use IPs
> outside the range assigned by the firewall. Works great.



Er, make that .001 to .099
 
Reply With Quote
 
Tom
Guest
Posts: n/a

 
      03-19-2005, 03:43 AM

"General Schvantzkoph" <(E-Mail Removed)> wrote in message
news(E-Mail Removed)...
> On Wed, 16 Mar 2005 23:48:35 -0600, Tom wrote:
>
> >
> > "General Schvantzkoph" <(E-Mail Removed)> wrote in message
> > news(E-Mail Removed)...
> >> On Sun, 13 Mar 2005 23:30:50 -0600, Tom wrote:
> >>
> >> >
> >> > "Google Mike" <(E-Mail Removed)> wrote in message
> >> > news:(E-Mail Removed) oups.com...
> >> >> What if he sets the Linux workstation's DNS to this Linksys box?

Does
> >> >> the Linksys box serve up DNS services? Otherwise, yes, the

/etc/hosts
> >> >> file editing would be the trick.
> >> >>
> >> >
> >> > It is a hack though. I would like a more elegant solution. I don't
> >> > understand why there isn't one.
> >>
> >> Why are you using DHCP? Use static IPs and put the names in /etc/hosts.
> >>

> >
> > If you had read the original post you
> > would know that:
> >
> > I have several computers behind one of those Linksys
> > DSL Blue Boxes. This is a good way to set up a
> > business system on the interenet, because the blue
> > box is too simple to be hacked from the outside
> > world as I understand it.
> >
> > Anyway I have Samba working on the network.
> > Using Samba the computers know each other by
> > name. But how does one give names to the Linux
> > computers behind the blue box? The blue box
> > uses dhcp to give the computers ip addresses but
> > that is it. You cannot specify which MAC address
> > gets which IP.
> >
> > It seems like the solution to this problem should be
> > fairly trivial and also useful. Is there a solution out
> > there?

>
> The Linksys box can limit DHCP to a specific range, IP addresses outside
> of that range can be used for static IPs. Use static IPs on the Linux
> boxes, there is no good reason to use DHCP.
>


How does the computer connect to the internet
without dhcp?


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
If I replace my existing Linksys box with Linux Router, how can I know what kind of Routing to be enabled on my Linux Box? santa19992000@yahoo.com Linux Networking 3 01-06-2005 01:18 PM
looking for a Linux linksys log viewer Daniel Wireless Internet 7 10-09-2004 12:29 AM
Linksys WPC54G wireless NIC in Linux Chris Babstock Linux Networking 0 06-06-2004 03:56 PM
Is Windows beating Linux behind a Linksys box? tom Linux Networking 13 05-04-2004 12:26 AM
Linux firewall + linksys wrt54g Ryan Kois Linux Networking 3 02-02-2004 05:03 PM



1 2 3 4 5 6 7 8 9 10 11