Networking Forums

Networking Forums > Computer Networking > Linux Networking > Cannot delete gre tunnel

Reply
Thread Tools Display Modes

Cannot delete gre tunnel

 
 
sumitbee@gmail.com
Guest
Posts: n/a

 
      12-07-2007, 06:08 PM
I have a strange problem, where I cannot get rid of the first gre
tunnel I created. This is on RHEL3 kernel 2.4.21-20.EL. It had given
me errors while adding the tunnel:
# modprobe ip_gre
# ip tunnel add gre0 mode gre remote x.x.x.x local x.x.x.x ttl 255
ioctl: No buffer space available

Now I just cannot get rid of gre0:
# ip tunnel del gre0
ioctl: Operation not permitted

I am root on the box. I have tried rebooting, removing mod ip_gre, at
which point I can't see dev gre0 from ifconfig anymore, but then once
I load the mocule, it comes back. I can create more tunnels, and
delete them - just not gre0.
# ip tunnel add gre1 mode gre remote 192.168.1.1 local 192.168.2.1 ttl
255
# ifconfig gre0
gre0 Link encap:UNSPEC HWaddr 00-00-00-00-7A-00-
E4-64-00-00-00-00-00-00-00-00
NOARP MTU:1476 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

# ifconfig gre1
gre1 Link encap:UNSPEC HWaddr C0-A8-02-01-B2-00-
E4-34-00-00-00-00-00-00-00-00
POINTOPOINT NOARP MTU:1476 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
# ip tunnel del gre1
# ip tunnel del gre0
ioctl: Operation not permitted
# ifconfig gre1
gre1: error fetching interface information: Device not found
# ifconfig gre0
gre0 Link encap:UNSPEC HWaddr 00-00-00-00-D7-00-
E4-74-00-00-00-00-00-00-00-00
NOARP MTU:1476 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

#

Can anyone please help? Thanks a bunch in advance!

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Delete Ad Hoc?? Brian Lynn Wireless Networks 3 09-18-2009 03:57 AM
How to delete an entry in ARP soup_or_power@yahoo.com Linux Networking 16 07-25-2008 12:12 PM
Delete a TCP/IP port? Joe S. Wireless Networks 1 08-08-2007 01:32 AM
How can I delete shared folders that won't delete ? russ Network Routers 3 06-10-2006 05:31 PM
How to delete... Paul Windows Networking 4 01-28-2004 04:57 AM



1 2 3 4 5 6 7 8 9 10 11