Subject: Re: routing question
To: None <mouse@rodents.montreal.qc.ca>
From: Josh Davidson <dogtoy@ductape.net>
List: port-sparc
Date: 03/05/2002 18:35:46
Hello,
I don't know if you remember this or not, I tried to reply, but it came
back as undeliverable. I have tried this suggestion and some other variations
on it, and I am still not able to figure it. I even set up dhcp like the cable
company would like, but whenever it was time to renew the information, it would
stop working. With dhcp I was having the hostname served by dyndns.org so my
website was 180degreefitness.dyndns.org which works. I was then using
www.granitecanyon.com to resolve 180degreefitness.com to
180degreefitness.dyndns.org, but granite canyon gives you a SOB dns record and
I need an A record with a 1 on the end so the ip address doesn't get cached,
right? As of now, when the ip changes, 180degreefitness.dyndns.org changes,
but granitecanyon keeps pointing 180degreefitness.com to the old ip address.
Thanks for the help, Sorry if this is one big incomprehensible run-on sentence.
-Josh Davidson
Quoting der Mouse <mouse@Rodents.Montreal.QC.CA>:
> > I need to set this up on a netbsd/sparc webserver
> > I don't know what my routing table needs to say Windows reports
> > my ip address is 12.220.191.17
> > netmask " 255.255.254.0
> > gateway " 12.220.190.1
>
> Assuming the network interface in question is le0 (if not, change the
> first arg to ifconfig),
>
> ifconfig le0 12.220.191.17/23
> route add default 12.220.190.1
>
> If you prefer, the first command can be
>
> ifconfig le0 12.220.191.17 netmask 255.255.254.0
>
> which is a little more visibly similar to the numbers you gave.
>
> If those don't work, I'd have to investigate in more detail to figure
> out why not. I'll be happy to correspond with you on the subject if
> the above doesn't make it work for you....
>
> /~\ The ASCII der Mouse
> \ / Ribbon Campaign
> X Against HTML mouse@rodents.montreal.qc.ca
> / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
>
/-*/-*/-*/-*/-*/-*/-*/-*/-*/-*/-*/-*/-*/-*/-*/-*/-*/-*/-*/-*/-*/-*/-*/-*/-*/-*/-
Josh Davidson ** ** **** ** ****** ** **
Sys/Net Admin ** ** ** ** ** ** ****
PHAT Beach Records ** ** ** ** ** ** ** **
****** ** **** ****** ** **