Welcome to the Linux Foundation Forum!

NETWORK IS RUNNING EVEN IF NETWORK SERVICES IS OFF

hi to all

I just want to know one thing. I had stop the network service in

ubuntu, still i can able to ping google.com.what u think might be

things to consider. these are the outputs see.

root@jeetendra-desktop:~# /etc/init.d/networking stop

* Deconfiguring network

interfaces... [ OK ]

root@jeetendra-desktop:~# ping google.com

PING google.com (64.233.189.103) 56(84) bytes of data.

64 bytes from hkg01s01-in-f103.1e100.net (64.233.189.103): icmp_seq=1

ttl=243 time=147 ms

64 bytes from hkg01s01-in-f103.1e100.net (64.233.189.103): icmp_seq=2

ttl=242 time=131 ms

^C

--- google.com ping statistics ---

2 packets transmitted, 2 received, 0% packet loss, time 999ms

rtt min/avg/max/mdev = 131.765/139.424/147.083/7.659 ms

root@jeetendra-desktop:~# route -n

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref

Use Iface

192.168.1.0 0.0.0.0 255.255.255.0 U 1 0

0 eth0

169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0

0 eth0

0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0

0 eth0

root@jeetendra-desktop:~#

Responses are highly appreciated.

Thanks

Comments

  • gomer
    gomer Posts: 158
    if you just want to shut off your ethernet port, then
    ifconfig eth0 down
    
    should do the trick.

    What exactly are you trying to accomplish, or may I ask why are you trying to shut off your network access?
  • mfillpot
    mfillpot Posts: 2,177
    The network manager is what is actually controlling the network configuration in a defualt installation of ubuntu, the networking service is used for more manual configurations. By disabling the networking service you should have close all communication channels, but the network manager had went and took over the devices with it's own configuration. The easiest way for you to sever networking in ubuntu is to make sure that no items in the network manager are showing as connected.
  • jmcnulty
    jmcnulty Posts: 9
    Not a tech answer I know, but if you need your machine to not be on the network and it's a semi-permanent arrangement, just disconnect the network cable? Sorry if there are reasons this isn't an option!

Categories

Upcoming Training