View Single Post

  #4 (permalink)  
Old 01-14-2008, 10:49 AM
satimis satimis is offline
Member
User
 
Join Date: Sep 2007
My distro: Debian
Posts: 90
Rep Power: 2
satimis is on a distinguished road
Default

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)
# ifconfig eth0:0 192.168.0.20
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)
# /etc/init.d/network restart
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  ]
# /etc/init.d/httpd start
Code:
Starting httpd:                                            [  OK  ]
Called IP requesting to make following change;

forward port 8080 to IP addr 192.168.0.20


On Ubuntu
$ sudo /etc/init.d/apache2 stop
Code:
 * Stopping web server (apache2)...                                      [ OK ]
On Firefox;
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
Any advice? TIA


B.R.
satimis
Reply With Quote