View Full Version : IP config
When I use ifconfig in one of my customers's servers, it shows
eth0 Link encap:Ethernet HWaddr 00:0B:CD:E1:E8:71
inet addr:192.168.100.140 Bcast:192.168.100.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:354 errors:0 dropped:0 overruns:0 frame:0
TX packets:276 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:45192 (44.1 Kb) TX bytes:51106 (49.9 Kb)
Interrupt:11
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:700 (700.0 b) TX bytes:700 (700.0 b)
but I can access SSH to their server at 206.32.x.x They said they have configured at their router, but usually, the IP 206.32.x.x should be showed in ifconfig, right?
is there anything wrong here?
thanks
choon
03-06-2005, 11:59 AM
What is the output of:
ifconfig -a
netstat -nr
#ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0B:CD:E1:E8:71
inet addr:192.168.100.140 Bcast:192.168.100.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1452 errors:0 dropped:0 overruns:0 frame:0
TX packets:456 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:187833 (183.4 Kb) TX bytes:73513 (71.7 Kb)
Interrupt:11
eth1 Link encap:Ethernet HWaddr 00:0B:CD:E1:E8:70
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:15
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:38 errors:0 dropped:0 overruns:0 frame:0
TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5433 (5.3 Kb) TX bytes:5433 (5.3 Kb)
#netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.100.1 0.0.0.0 UG 0 0 0 eth0
choon
03-07-2005, 01:21 PM
Looks like it is a LAN setting and do not play with it or else you might get downtime. I think they configured their router to forward all traffic from external which hitting your allocated WAN IP to your LAN IP... that's my guess and I might be wrong though :p
Well... I think so too :D but I wonder there is anything wrong if I install cPanel on that box? cPanel requires a public IP, is that right?
choon
03-07-2005, 05:50 PM
Yes, cPanel requires a public IP as main IP if my memory serve me right :(
ok, I have tried and see I can install cPanel successfully. I will go to configure it later today, and see if there is any problem with it :)
choon
03-08-2005, 01:43 PM
Install shouldn't have any problem but whether after installation will show you invalid license message is the main concern lor :p
no, Choon. I can go and config the server without any error about license. I will try to play with it more details and see if I find any problem :)
choon
03-11-2005, 09:09 PM
haha... login to WHM... wait for the main page to load on the right frame... see whether did you get such message:
Unable to obtain apache version information. Your apache server at xxx.xxx.xxx.xxx may be down, or unreachable.
the apache is just working fine ;) but it has problem with DNS. It seems cPanel doesnt support DNS through NAT
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.