Find the answer to your Linux question:
Results 1 to 2 of 2
hi I prepare to check test network. in that way i use UML (User Mode Linux). and my real OS is Redhat 9 and Virtual OS is Redhat 7.2 when ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2004
    Posts
    4

    Rooting User Mode Linux Change Ip


    hi
    I prepare to check test network. in that way i use UML (User Mode Linux). and my real OS is Redhat 9 and Virtual OS is Redhat 7.2

    when i set ULM in my Linux mashin it routing well.

    it can ping real OS and external IPs.

    but when i change the UML ip address it wouldn't route.

    it can ping real OS but cannot ping external IPs.

    I change /etc/sysconfig/network-scripts/ifcfg-eth0 like that:

    IPADDR=172.22.1.101
    GATEWAY=172.22.1.1
    NETMASK=255.255.255.0
    NETWORK=172.22.1.0
    BROADCAST=172.22.1.255

    old one is

    IPADDR=192.168.0.144
    GATEWAY=192.168.0.254
    NETMASK=255.255.255.0
    NETWORK=192.168.0.0
    BROADCAST=192.168.0.255

    when i change ip and restart UML. the routing table have still 192.168.0.254 and my new gateway too come. put it cannot route. when i see linux routing table. it was:

    Code:
    172.22.1.101 0.0.0.0 255.255.255.255 UH tap0
    172.22.0.0    0.0.0.0 255.255.0.0     U  eth0
    lo
    i cannot change my routing tables both of real and ULM.
    i confused there.

    please help me.
    thanks all

    sincerely
    dd

  2. #2
    Just Joined!
    Join Date
    Nov 2004
    Posts
    4
    Hi all,
    I slove my problem. I set worrong tunnel.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •