This is a discussion on How to connect the Mail Server running on Guest OS of VMWare within the Mail Servers forums, part of the Mastering Servers category; Hi folks, Ubuntu 7.04 server amd64 (Host OS) CentOS 5 x86_64 (Guest OS) VMWare Server CentOS 5, inet addr - ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
Hi folks,
Ubuntu 7.04 server amd64 (Host OS) CentOS 5 x86_64 (Guest OS) VMWare Server CentOS 5, inet addr - I have only one fixed IP alloted by ISP and one domain. They are used by Ubuntu. How can I connect the Mail Server/Web server running on CentOS 5? TIA Edit: Network connection; Server -> Router -> DSL Modem -> Internet The router is on loan from ISP. They use it as gateway. I can't touch it. Intranet IP address (router ip addr) Ubuntu - 192.168.0.10 CentOS - 172.16.103.128 ( found with ifconfig) Only one NIC on the PC B.R. satimis Last edited by satimis; 01-11-2008 at 08:15 PM. |
| Sponsored Links | ||
|
|
|
||||
|
You can't until and unless router is pre configured for port forwarding. Most ISP allows to modify ISP setting even if it is on loan. Tell them you need port forwarding. What is the use of internet if it is not supporting port forwarding?
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
|
|||
|
Quote:
satimis |
|
|||
|
Hi rockdalinux
Performed following test w/o success 1) On Ubuntu connect CentOS $ ssh 172.16.103.128 satimis@172.16.103.128's password: $ su - Password: # ifconfig Code:
eth0 Link encap:Ethernet HWaddr 00:0C:29:1D:65:AD
inet addr:172.16.103.128 Bcast:172.16.103.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe1d:65ad/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:83 errors:0 dropped:0 overruns:0 frame:0
TX packets:107 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10046 (9.8 KiB) TX bytes:16808 (16.4 KiB)
Base address:0x1070 Memory:ec820000-ec840000
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)
No complaint # ifconfig Code:
eth0 Link encap:Ethernet HWaddr 00:0C:29:1D:65:AD
inet addr:172.16.103.128 Bcast:172.16.103.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe1d:65ad/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:469 errors:0 dropped:0 overruns:0 frame:0
TX packets:447 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:256458 (250.4 KiB) TX bytes:70495 (68.8 KiB)
Base address:0x1070 Memory:ec820000-ec840000
eth0:0 Link encap:Ethernet HWaddr 00:0C:29:1D:65:AD
inet addr:192.168.0.20 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Base address:0x1070 Memory:ec820000-ec840000
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)
Code:
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0:
Determining IP information for eth0... done.
[ OK ]
Code:
Starting httpd: [ OK ] forward port 8080 to IP addr 192.168.0.20 On Ubuntu $ sudo /etc/init.d/apache2 stop Code:
* Stopping web server (apache2)... [ OK ] running:- http://www.satimis.com http://www.satimis.com:8080 (just hanging) http://www.satimis.com/8080 https://www.satimis.com https://www.satimis.com:8080 (just hanging) https://www.satimis.com/8080 All failed. 2) On CentOS Firefox running; localhost start Code:
Apache 2 Test Page powered by CentOS B.R. satimis |
|
||||
|
You need to open router web based interface (or run telnet on router). Provide admin user/password. Find out port forwading. Enable it for internal IP.
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
|
|||
|
Quote:
Could you please provide more details. TIA The router is provided by ISP with password locked. I can't touch it. Connection; Mail Server --> router --> DSL Modem Port 8080 is forward to 192.168.0.20, CentOS IP addr. I made such a request to ISP and reconfirmed it afterwards. On Ubuntu and other PC on the same network, I can ping; 192.168.0.20 (CentOS IP addr) ssh 192.168.0.20 (connected) On CentOS I can ping; 192.168.0.10 (Ubuntu IP addr) 192.168.0.1 (router IP/gateway) But on Ubuntu and PC on another network, I can't https/http : public_IP:8080 What did you mean "web base interface"? Can I request ISP to do something? TIA B.R. satimis |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Vmware server centos install | raj | Linux software | 2 | 07-13-2008 04:56 PM |
| VMware ESX server && Solaris 10 on same PC ?? | vikas027 | Linux software | 1 | 11-24-2007 10:52 AM |
| about new mail server setup | jhn_daz@yahoo.com | Mail Servers | 2 | 11-01-2007 09:43 AM |
| PPTP connect vpn Linux server | raj | Networking, Firewalls and Security | 0 | 07-29-2007 05:29 AM |
| install and configure vmware server on Ubuntu Linux server | raj | Linux software | 1 | 07-17-2006 11:21 PM |