Find the answer to your Linux question:
Results 1 to 4 of 4
Hello, I am running an embedded linux. It has an ip address, say A. This what I did: 1. changed the ip address to B and didn't reboot (I can't ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2007
    Posts
    16

    Ip address issue


    Hello,

    I am running an embedded linux. It has an ip address, say A. This what I did:

    1. changed the ip address to B and didn't reboot (I can't afford rebooting)
    2. did wget <web page>
    3. tcpdump shows the outgoing packet is having ip address A
    4. ifconfig show the correct modified ip address, address B
    5. after around 3 hours wget, ping stops working
    6. when I reboot, everything is fine, with tcpdump showing ip address B.

    Could anyone please point out what is wrong here ?

    Thanks in advance.
    G

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    When you changed your IP address, you probably should have restarted the network service.

  3. #3
    Just Joined!
    Join Date
    Mar 2007
    Posts
    16
    Thanks for replying. I did restart the network service.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Mar 2007
    Posts
    16
    There was a bug in the firewall script. I solved the issue using
    "iptables -t nat --flush" command

Posting Permissions

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