You are not logged in.
Pages: 1
I'm trying to make a server, but I see an error when I restart /etc/rc.d/network: SIOCADDRT: No such process (I have a verision router.)
Here is my rc.conf (relavent bit):
HOSTNAME="Server"
eth0="eth0 192.268.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
INTERFACES=(eth0)
gateway="default gw 192.168.100.0"
static_route1="-net 192.168.200.0/24 gw 192.168.100.0"
ROUTES=(gateway static_route1)
I feel really lost with this.
Last edited by Lexion (2009-09-20 15:03:48)
urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand
Offline
your ip 192.268.0.2 has an invalid broadcast address... 192.168.0.255 (notice the '2').
Also... your default gw 192.168.100.0 is unreachable (its not even a valid ip address)
Last edited by daf666 (2009-09-19 21:47:51)
Offline
You seem to have copy and pasted the changes I made to the wiki yesterday, and adjusted a couple of the IP addresses without making sure they're valid...
1) Your IP address (192.268.0.2) appears to be wrong as daf666 mentioned
2) Your default gateway is both invalid (.0 is the network address) nor is it on your local LAN. If your IP address is 192.168.0.2/255.255.255.0 then your gateway must start with 192.168.0. as well.
3) Do you need a static route to an additional network? Most people do *not* need this, so either remove that config, or prefix it with ! in the ROUTES array.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
How do I find my gateway and broadcast address? I currently use dhcpcd (keeping a backup /etc/resolv.conf) and use ifconfig to get them currently, but it doesn't seem to be working...
/etc/rc.conf (relavent bits)
eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 96.235.187.184"
INTERFACE=(eth0)
gateway="default gw 96.235.187.1"
ROUTES=(gateway)
router info:
Broadband Connection (Coax)
Status: Connected
IP Address: 96.235.187.184
Subnet Mask: 255.255.255.0
Default Gateway: 96.235.187.1
DNS Server: 71.250.0.12, 68.237.161.12
IP Address Distribution: Disabled
Last edited by Lexion (2009-09-19 23:26:29)
urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand
Offline
not sure if you said dhcp was not working, but if you could get it working you can then find the gw and broadcast address. DO you have another pc you can use to test the router and dhcp on?
Also you shouldn't use 192.268.x.x. Try to setup 192.168.0.x ....
Try this:
eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
If your router is 192.168.0.1 then use that for your gateway address. I dont think you even need that static route in there if your router is working properly.
Arch64, AMD64, LXDE
Offline
yes I do:
IP: 192.168.1.6
Bcast: 192.168.1.255
Mask: 255.255.255
Updated rc.conf:
eth0="eth0 192.168.1.3 netmask 255.255.255.0 broadcast 192.168.1.255"
gateway="default gw 192.168.1.1"
I still don't understand how you get the IP address (the one after "eth0").
urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand
Offline
yes I do:
IP: 192.168.1.6
Bcast: 192.168.1.255
Mask: 255.255.255Updated rc.conf:
eth0="eth0 192.168.1.3 netmask 255.255.255.0 broadcast 192.168.1.255" gateway="default gw 192.168.1.1"
I still don't understand how you get the IP address (the one after "eth0").
if you are referring to the
192.168.1.3
that you posted, you just make that one up based on whats available. The gateway add is based on your router. you should see it listed if you got the dhcp results you posted above from another PC?
Arch64, AMD64, LXDE
Offline
I don't see it, and I tried making one up (192.168.1.11) but it didn't work. I found the gateway in the router config page (posted above).
urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand
Offline
What brand/model router do you have and what is the IP you use to get to the webpage?
Arch64, AMD64, LXDE
Offline
I have a verizon C (MI424-WR) router and it's ip is 192.168.1.1
Last edited by Lexion (2009-09-20 11:51:43)
urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand
Offline
I can now ping google without dhcp (nameserver in resolv.conf was messed up). Thanks for all the help guys. But now, my server isn't serving to my domain name (dyndns.com). How do I configure my server/router/domain to make this work?
urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand
Offline
you need to configure your router to forward http service to your server
Offline
I have done that, thanks. I think the problem is now on the domain name end, so this thread is solved.
Thanks for all the great help.
urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand
Offline
Pages: 1