Go Back   Choon.NET Community > IT Talk > Linux Talk

Linux Talk Need help in linux? Discuss anything related to Linux such as Red Hat Linux, Fedora, Slackware, Gentoo, etc... NO OFFER/PROMOTION PLEASE!

Reply
 
Thread Tools Display Modes
  #1  
Old 03-06-2005, 10:27 AM
hung hung is offline
Registered User
 
Join Date: Jul 2004
Posts: 31
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
Reply With Quote
  #2  
Old 03-06-2005, 11:59 AM
choon's Avatar
choon choon is offline
Administrator
 
Join Date: Sep 2002
Location: Singapore
Posts: 3,897
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 ::
Reply With Quote
  #3  
Old 03-07-2005, 09:42 AM
hung hung is offline
Registered User
 
Join Date: Jul 2004
Posts: 31
#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
Reply With Quote
  #4  
Old 03-07-2005, 01:21 PM
choon's Avatar
choon choon is offline
Administrator
 
Join Date: Sep 2002
Location: Singapore
Posts: 3,897
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 ::
Reply With Quote
  #5  
Old 03-07-2005, 02:59 PM
hung hung is offline
Registered User
 
Join Date: Jul 2004
Posts: 31
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?
Reply With Quote
  #6  
Old 03-07-2005, 05:50 PM
choon's Avatar
choon choon is offline
Administrator
 
Join Date: Sep 2002
Location: Singapore
Posts: 3,897
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 ::
Reply With Quote
  #7  
Old 03-08-2005, 01:37 PM
hung hung is offline
Registered User
 
Join Date: Jul 2004
Posts: 31
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
Reply With Quote
  #8  
Old 03-08-2005, 01:43 PM
choon's Avatar
choon choon is offline
Administrator
 
Join Date: Sep 2002
Location: Singapore
Posts: 3,897
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 ::
Reply With Quote
  #9  
Old 03-08-2005, 07:05 PM
hung hung is offline
Registered User
 
Join Date: Jul 2004
Posts: 31
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
Reply With Quote
  #10  
Old 03-11-2005, 09:09 PM
choon's Avatar
choon choon is offline
Administrator
 
Join Date: Sep 2002
Location: Singapore
Posts: 3,897
haha... login to WHM... wait for the main page to load on the right frame... see whether did you get such message:
Quote:
Unable to obtain apache version information. Your apache server at xxx.xxx.xxx.xxx may be down, or unreachable.
__________________
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 ::
Reply With Quote
  #11  
Old 03-15-2005, 10:22 AM
hung hung is offline
Registered User
 
Join Date: Jul 2004
Posts: 31
the apache is just working fine but it has problem with DNS. It seems cPanel doesnt support DNS through NAT
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +8. The time now is 10:21 PM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©2001-2009 Choon.NET. All Rights Reserved.