d3m0nic
5th July 2006, 14:54
Hello,
I've installed my supermicro server with Fedora Core 5. I'm planning to place the server within a ISP's network. I've tested the OS at home and everything works fine, but this network differs from the network of my ISP.
ifconfig output:[root@host1 ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:40:58:57:12:B2
inet addr:192.168.1.110 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::230:58ff:fe57:12b2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:46 errors:0 dropped:0 overruns:0 frame:0
TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6193 (6.0 KiB) TX bytes:7389 (7.2 KiB)
Interrupt:177
eth1 Link encap:Ethernet HWaddr 00:40:58:57:12:B3
inet addr:192.168.1.111 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::230:58ff:fe57:12b3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:18 errors:0 dropped:0 overruns:0 frame:0
TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2654 (2.5 KiB) TX bytes:3268 (3.1 KiB)
Interrupt:185
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)
route output:[root@host1 ~]# route -nee
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface MSS Window irtt
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0 0 0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 0 0 0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1 0 0 0
0.0.0.0 192.168.1.2 0.0.0.0 UG 0 0 0 eth0 0 0 0
This route output puzzles me quiet a bit. The 169.254.0.0 network on eth1 is strange. I've already deleted it once, but doing a network restart, it comes back. What's it for and can i get rid of it... or do I just leave it?
Also, my ISP gave me some settings to configure my server.
IP Range: 213.xxx.xxx.56/29
Default Gateway: 213.xxx.xxx.57
Netmask: 255.255.255.248
Nameservers: 194.xxx.xxx.135 and 136
The 213.xxx.xxx.56 and 213.xxx.xxx.63 (broadcast) are unusable. The 213.xxx.xxx.57 is the gateway and this leaves me 213.xxx.xxx.58 to 62. So I need to configure my server to these settings, but is that all I have to do?
Do I need to change my route table to match these settings? This, because when I take a look at my local gateway I see a lot of routes... and since the server is now behind my gateway, handling the routing, I was wondering if the server would need to do the same as soon as it's connect to the ISP's network. It's a 100Mbit connection straight to the internet, or so I'm told.
local gateway routing:
Flags Network Address Netmask Gateway Interface Metric
C 127.0.0.1 255.255.255.255 127.0.0.1 Loopback 1
C 224.0.1.134 255.255.255.255 192.168.1.2 LAN 1
S 0.0.0.0 0.0.0.0 83.160.x.1 WAN 1
C 83.160.x.0 255.255.255.0 83.160.x.x WAN 1
C 192.168.1.0 255.255.255.0 192.168.1.2 LAN 1
This gateway routes to a DSL-modem (192.168.1.1) but is configured as a straight-through modem.
Please give me some advise on how to do this fool-proof, since I have to drive up and down to Amsterdam (2 hours) to fix it, if it does not work!
Thanks
ps. I've posted earlier about this problem, but I desided then to bring my baby back home, reinstall the server with Fedora (instead of CentOS) and do some research about this problem. Hopefully this thread is a bit more clear and understandable for you... and especially for me!:D
Thx
I've installed my supermicro server with Fedora Core 5. I'm planning to place the server within a ISP's network. I've tested the OS at home and everything works fine, but this network differs from the network of my ISP.
ifconfig output:[root@host1 ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:40:58:57:12:B2
inet addr:192.168.1.110 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::230:58ff:fe57:12b2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:46 errors:0 dropped:0 overruns:0 frame:0
TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6193 (6.0 KiB) TX bytes:7389 (7.2 KiB)
Interrupt:177
eth1 Link encap:Ethernet HWaddr 00:40:58:57:12:B3
inet addr:192.168.1.111 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::230:58ff:fe57:12b3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:18 errors:0 dropped:0 overruns:0 frame:0
TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2654 (2.5 KiB) TX bytes:3268 (3.1 KiB)
Interrupt:185
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)
route output:[root@host1 ~]# route -nee
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface MSS Window irtt
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0 0 0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 0 0 0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1 0 0 0
0.0.0.0 192.168.1.2 0.0.0.0 UG 0 0 0 eth0 0 0 0
This route output puzzles me quiet a bit. The 169.254.0.0 network on eth1 is strange. I've already deleted it once, but doing a network restart, it comes back. What's it for and can i get rid of it... or do I just leave it?
Also, my ISP gave me some settings to configure my server.
IP Range: 213.xxx.xxx.56/29
Default Gateway: 213.xxx.xxx.57
Netmask: 255.255.255.248
Nameservers: 194.xxx.xxx.135 and 136
The 213.xxx.xxx.56 and 213.xxx.xxx.63 (broadcast) are unusable. The 213.xxx.xxx.57 is the gateway and this leaves me 213.xxx.xxx.58 to 62. So I need to configure my server to these settings, but is that all I have to do?
Do I need to change my route table to match these settings? This, because when I take a look at my local gateway I see a lot of routes... and since the server is now behind my gateway, handling the routing, I was wondering if the server would need to do the same as soon as it's connect to the ISP's network. It's a 100Mbit connection straight to the internet, or so I'm told.
local gateway routing:
Flags Network Address Netmask Gateway Interface Metric
C 127.0.0.1 255.255.255.255 127.0.0.1 Loopback 1
C 224.0.1.134 255.255.255.255 192.168.1.2 LAN 1
S 0.0.0.0 0.0.0.0 83.160.x.1 WAN 1
C 83.160.x.0 255.255.255.0 83.160.x.x WAN 1
C 192.168.1.0 255.255.255.0 192.168.1.2 LAN 1
This gateway routes to a DSL-modem (192.168.1.1) but is configured as a straight-through modem.
Please give me some advise on how to do this fool-proof, since I have to drive up and down to Amsterdam (2 hours) to fix it, if it does not work!
Thanks
ps. I've posted earlier about this problem, but I desided then to bring my baby back home, reinstall the server with Fedora (instead of CentOS) and do some research about this problem. Hopefully this thread is a bit more clear and understandable for you... and especially for me!:D
Thx