[Novalug] resolved : Ubuntu 8.04 inet access problem

Norman Bird steelpulsefan at gmail.com
Wed Apr 15 18:28:17 EDT 2009


I finally found the right formula for setting my ip address in the eth0:

sudo ifconfig down (wipes everything of the device clean and clears tables)

sudo ifconfig eth0 192xxxx.. netmash 255.xxxx... up
sudo route add default gw 192.168.1.1

thats the formula that works for me.

resolved, thanks all

Norm


On Wed, Apr 15, 2009 at 3:49 PM, Jon LaBadie <novalugml at jgcomp.com> wrote:

> Agreeing with others that a router setting giving "persistant" IP addresses
> over DHCP was a good way to go I downloaded the manual.  Norman, I think
> you are correct that the wsrv4400n does not permit this feature.  I've used
> 4 other models and all allowed specifying the IP address given to a host
> either by the MAC address or the hostname.  But not yours.
>
> I think you will have to use a static IP address network configuration on
> your linux and vista hosts.  For this you will have to chose an IP address
> outside those the router is permitted to give out via dhcp.  I think I read
> the default on your router is addr 100-149.  So you either will have to
> chose different addr for your two hosts or change the default dhcp range.
>
> Jon
>
> On Wed, Apr 15, 2009 at 03:13:26PM -0400, Norman Bird wrote:
> > problem still with eth0 and correct ip address.
> >
> > I did the route thing and it seemed to work as i was able to ping
> everwhere,
> > but then i realized it still had an ip address of 192.168.1.100, and i
> need
> > it to be 198.162.1.101. no matter what i do it stays at .100. i added
> .101
> > and it shows up in netstat -rn , and netstat does not show anything for
> .100
> > but unpn ifconfig, it still shows .100 and when i did add .101 the
> netmask
> > showed 255.255.255.255 instead of 255.255.255.0 whic is my network.
> >
> > I think i need to flush it all and start over, but every flash attempt i
> am
> > told by route that the command is not supported.
> >
> > hopefully that all makes sense. I can access internet with .100 only and
> > cant switch device to .101. and no other computer is using .101 that i
> know
> > of.
> >
> > any help?
> >
> > Norm
> >
> > On Wed, Apr 15, 2009 at 1:53 PM, Mackenzie Morgan <macoafi at gmail.com>
> wrote:
> >
> > > On Wednesday 15 April 2009 5:02:16 am Norman Bird wrote:
> > > > Mackenzie,
> > > >
> > > > I have scoured my router settings and I see no way doing that DHCP
> > > > reservation stuff. I have the WRVS4400N router which appears pretty
> > > advanced
> > > > but nothing. Is running a DHCP server and configuring reservation
> that
> > > way
> > > > what I am looking at then?
> > >
> > > Yeah, if you have DHCP enabled, I'd expect there to be somewhere in
> there
> > > to
> > > reserve an address so that it gets all the nice DNS & route
> > > auto-configuration
> > > but keeps the address like a static IP.
> > >
> > > I've never used one of that model.  I can't remember if default WRT54G
> > > firmware
> > > offers it.  I use dd-wrt.
> > >
> > > --
> > > Mackenzie Morgan
> > > http://ubuntulinuxtipstricks.blogspot.com
> > > apt-get moo
> > >
> > > _______________________________________________
> > > Novalug mailing list
> > > Novalug at calypso.tux.org
> > > http://calypso.tux.org/cgi-bin/mailman/listinfo/novalug
> > >
> > >
> >
> >
> > --
> > Creation is Love
> > -Norm
>
> > _______________________________________________
> > Novalug mailing list
> > Novalug at calypso.tux.org
> > http://calypso.tux.org/cgi-bin/mailman/listinfo/novalug
>
> >>> End of included message <<<
>
> --
> Jon H. LaBadie                  jon at jgcomp.com
>  JG Computing
>  12027 Creekbend Drive          (703) 787-0884
>  Reston, VA  20194              (703) 787-0922 (fax)
> _______________________________________________
> Novalug mailing list
> Novalug at calypso.tux.org
> http://calypso.tux.org/cgi-bin/mailman/listinfo/novalug
>



-- 
Creation is Love
-Norm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://calypso.tux.org/pipermail/novalug/attachments/20090415/c9799774/attachment.html 


More information about the Novalug mailing list