|
|||||||
| Linux Talk Need help in linux? Discuss anything related to Linux such as Red Hat Linux, Fedora, Slackware, Gentoo, etc... NO OFFER/PROMOTION PLEASE! |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
What is the output of:
Code:
ifconfig -a netstat -nr
__________________
Giam Teck Choon CHOON.NET :: Join choon.net Community today to share your tips and tricks on server issues please :: :: Singapore Co-location :: Singapore Dedicated Servers :: Singapore Virtual Private Servers :: Linux/FreeBSD Server Management :: |
|
#3
|
|||
|
|||
|
#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 |
|
#4
|
||||
|
||||
|
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
__________________
Giam Teck Choon CHOON.NET :: Join choon.net Community today to share your tips and tricks on server issues please :: :: Singapore Co-location :: Singapore Dedicated Servers :: Singapore Virtual Private Servers :: Linux/FreeBSD Server Management :: |
|
#5
|
|||
|
|||
|
Well... I think so too
but I wonder there is anything wrong if I install cPanel on that box? cPanel requires a public IP, is that right?
|
|
#6
|
||||
|
||||
|
Yes, cPanel requires a public IP as main IP if my memory serve me right
__________________
Giam Teck Choon CHOON.NET :: Join choon.net Community today to share your tips and tricks on server issues please :: :: Singapore Co-location :: Singapore Dedicated Servers :: Singapore Virtual Private Servers :: Linux/FreeBSD Server Management :: |
|
#7
|
|||
|
|||
|
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
|
|
#8
|
||||
|
||||
|
Install shouldn't have any problem but whether after installation will show you invalid license message is the main concern lor
__________________
Giam Teck Choon CHOON.NET :: Join choon.net Community today to share your tips and tricks on server issues please :: :: Singapore Co-location :: Singapore Dedicated Servers :: Singapore Virtual Private Servers :: Linux/FreeBSD Server Management :: |
|
#9
|
|||
|
|||
|
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
|
|
#10
|
||||
|
||||
|
haha... login to WHM... wait for the main page to load on the right frame... see whether did you get such message:
Quote:
__________________
Giam Teck Choon CHOON.NET :: Join choon.net Community today to share your tips and tricks on server issues please :: :: Singapore Co-location :: Singapore Dedicated Servers :: Singapore Virtual Private Servers :: Linux/FreeBSD Server Management :: |
|
#11
|
|||
|
|||
|
the apache is just working fine
but it has problem with DNS. It seems cPanel doesnt support DNS through NAT
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|